File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1+ scripts
2+ webpack.config.js
3+ lab-dist
4+ .eslintrc.js
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
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ module.exports = [
3939 library : "jupyter-threejs" ,
4040 libraryTarget : 'amd'
4141 } ,
42- devtool : 'source-map' ,
4342 externals : [ '@jupyter-widgets/base' ] ,
4443 resolve : {
4544 extensions : [ ".autogen.js" , ".js" ]
You can’t perform that action at this time.
0 commit comments