File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -590,12 +590,15 @@ function writeJavascriptIndexFiles() {
590590
591591 console . log ( 'Writing javascript indices...' ) ;
592592
593+ const dotSlash = '.' + path . sep ;
594+
593595 const excludes = [
594596 / \. s w p $ / ,
595597 / \. D S _ S t o r e $ / ,
596598 / i n d e x \. j s $ / ,
597- './embed.js' ,
598- './extension.js' ,
599+ dotSlash + 'embed.js' ,
600+ dotSlash + 'extension.js' ,
601+ dotSlash + path . join ( 'examples' , '.eslintrc.js' ) ,
599602 ] ;
600603
601604 // Regexp's
@@ -610,7 +613,7 @@ function writeJavascriptIndexFiles() {
610613
611614 // get proper relative path for file
612615 dirFiles = dirFiles . map ( filename => {
613- return './' + path . join ( dirPath , filename ) ;
616+ return dotSlash + path . join ( dirPath , filename ) ;
614617 } ) ;
615618
616619 // filter excluded files
You can’t perform that action at this time.
0 commit comments