aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/config
diff options
context:
space:
mode:
Diffstat (limited to 'client/config')
-rw-r--r--client/config/webpack.prod.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/client/config/webpack.prod.js b/client/config/webpack.prod.js
index 1484e2ac2..4f33961f5 100644
--- a/client/config/webpack.prod.js
+++ b/client/config/webpack.prod.js
@@ -81,6 +81,21 @@ module.exports = function (env) {
81 publicPath: '/client/' 81 publicPath: '/client/'
82 }, 82 },
83 83
84 module: {
85 rules: [
86 {
87 test: /junk\/index\.js$/,
88 // exclude: /(node_modules|bower_components)/,
89 use: {
90 loader: 'babel-loader',
91 options: {
92 presets: [ 'env' ]
93 }
94 }
95 }
96 ]
97 },
98
84 /** 99 /**
85 * Add additional plugins to the compiler. 100 * Add additional plugins to the compiler.
86 * 101 *
@@ -130,6 +145,7 @@ module.exports = function (env) {
130 'HMR': METADATA.HMR 145 'HMR': METADATA.HMR
131 } 146 }
132 }), 147 }),
148
133 /** 149 /**
134 * Plugin: UglifyJsPlugin 150 * Plugin: UglifyJsPlugin
135 * Description: Minimize all JavaScript output of chunks. 151 * Description: Minimize all JavaScript output of chunks.