File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 1010 "url" : " https://github.com/scratchfoundation/scratch-gui.git"
1111 },
1212 "main" : " ./dist/scratch-gui.js" ,
13- "exports" : {
14- "webpack" : " ./src/index.js" ,
15- "browser" : " ./dist/scratch-gui.js" ,
16- "default" : " ./src/index.js"
17- },
1813 "scripts" : {
1914 "build" : " npm run clean && webpack" ,
2015 "clean" : " rimraf ./build ./dist" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const baseConfig = new ScratchWebpackConfigBuilder(
1313 {
1414 rootPath : path . resolve ( __dirname ) ,
1515 enableReact : true ,
16- shouldSplitChunks : true
16+ shouldSplitChunks : false
1717 } )
1818 . setTarget ( 'browserslist' )
1919 . merge ( {
@@ -29,9 +29,6 @@ const baseConfig = new ScratchWebpackConfigBuilder(
2929 Buffer : require . resolve ( 'buffer/' ) ,
3030 stream : require . resolve ( 'stream-browserify' )
3131 }
32- } ,
33- optimization : {
34- runtimeChunk : 'single'
3532 }
3633 } )
3734 . addModuleRule ( {
You can’t perform that action at this time.
0 commit comments