diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webpack.config.js b/webpack.config.js index 8749e93914..4fdf4ba5a4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -4,12 +4,12 @@ const TerserPlugin = require('terser-webpack-plugin'); module.exports = { mode: 'production', entry: { - index: './web_src/js/index.js', + index: ['./web_src/js/index', './web_src/js/draw'] }, devtool: 'source-map', output: { path: path.resolve(__dirname, 'public/js'), - filename: '[name].js' + filename: 'index.js' }, optimization: { minimize: true, |