From 94692401aa998c5c5dbcedb66c18426dfce8487a Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Tue, 23 Jul 2019 18:31:52 +0300 Subject: [PATCH] Reduce webpack production build time. --- ui/webpack.config.prod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/webpack.config.prod.js b/ui/webpack.config.prod.js index 771bf83b9d..a87221f45a 100644 --- a/ui/webpack.config.prod.js +++ b/ui/webpack.config.prod.js @@ -36,7 +36,6 @@ dirTree('./src/app/locale/', {extensions:/\.json$/}, (item) => { module.exports = { mode: 'production', - devtool: 'source-map', entry: [ './src/app/app.js', 'webpack-material-design-icons' @@ -45,6 +44,7 @@ module.exports = { path: path.resolve(__dirname, 'target/generated-resources/public/static'), publicPath: PUBLIC_RESOURCE_PATH, filename: 'bundle.[hash].js', + pathinfo: false }, plugins: [ new webpack.ProvidePlugin({