diff --git a/webpack.renderer.additions.js b/webpack.renderer.additions.js index 1a737ea..92a64a1 100644 --- a/webpack.renderer.additions.js +++ b/webpack.renderer.additions.js @@ -29,13 +29,18 @@ module.exports = { }] ], presets: [ - ['@babel/env', {targets: {electron: '2.0.7'}}], + ['@babel/env', {targets: {electron: '3.0.2'}}], '@babel/react' ] } } ] }, + optimization: { + splitChunks: { + chunks: 'all' + } + }, plugins: [ new CopyWebpackPlugin([{ from: path.resolve(__dirname, 'node_modules', 'scratch-gui', 'dist', 'static'),