Commit 94692401aa998c5c5dbcedb66c18426dfce8487a
1 parent
a1175a31
Reduce webpack production build time.
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -36,7 +36,6 @@ dirTree('./src/app/locale/', {extensions:/\.json$/}, (item) => { |
36 | 36 | |
37 | 37 | module.exports = { |
38 | 38 | mode: 'production', |
39 | - devtool: 'source-map', | |
40 | 39 | entry: [ |
41 | 40 | './src/app/app.js', |
42 | 41 | 'webpack-material-design-icons' |
... | ... | @@ -45,6 +44,7 @@ module.exports = { |
45 | 44 | path: path.resolve(__dirname, 'target/generated-resources/public/static'), |
46 | 45 | publicPath: PUBLIC_RESOURCE_PATH, |
47 | 46 | filename: 'bundle.[hash].js', |
47 | + pathinfo: false | |
48 | 48 | }, |
49 | 49 | plugins: [ |
50 | 50 | new webpack.ProvidePlugin({ | ... | ... |