Skip to content
Snippets Groups Projects
Commit 6c8b94d5 authored by Chris Beer's avatar Chris Beer
Browse files

Set production webpack configs

parent 35d8459b
No related branches found
No related tags found
No related merge requests found
...@@ -53,6 +53,8 @@ module.exports = (env, options) => { ...@@ -53,6 +53,8 @@ module.exports = (env, options) => {
if (isProduction) { if (isProduction) {
return { return {
...baseConfig, ...baseConfig,
devtool: 'source-map',
mode: 'production',
plugins: [ plugins: [
...(baseConfig.plugins || []), ...(baseConfig.plugins || []),
new webpack.optimize.LimitChunkCountPlugin({ new webpack.optimize.LimitChunkCountPlugin({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment