We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4b897c commit f7566aeCopy full SHA for f7566ae
js/scripts/generate-wrappers.js
@@ -590,12 +590,15 @@ function writeJavascriptIndexFiles() {
590
591
console.log('Writing javascript indices...');
592
593
+ const dotSlash = '.' + path.sep;
594
+
595
const excludes = [
596
/\.swp$/,
597
/\.DS_Store$/,
598
/index\.js$/,
- './embed.js',
- './extension.js',
599
+ dotSlash + 'embed.js',
600
+ dotSlash + 'extension.js',
601
+ dotSlash + path.join('examples', '.eslintrc.js'),
602
];
603
604
// Regexp's
@@ -610,7 +613,7 @@ function writeJavascriptIndexFiles() {
610
613
611
614
// get proper relative path for file
612
615
dirFiles = dirFiles.map(filename => {
- return './' + path.join(dirPath, filename);
616
+ return dotSlash + path.join(dirPath, filename);
617
});
618
619
// filter excluded files
0 commit comments