diff --git a/webpack.config.js b/webpack.config.js index 8c8f76fb2f4..908fcb0298d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -35,14 +35,16 @@ function configure(env, webpackOpts) { devtool: IS_PRODUCTION ? 'source-map' : 'eval', optimization: { splitChunks: { chunks: 'all', }, - minimizer: IS_PRODUCTION ? [ - new UglifyJSPlugin({ - parallel: true, - cache: true, - test: /vendors/, - sourceMap: true, - }), - ] : [], // Disable minification unless production + minimizer: [], + // TODO(dpeach): figure out how we can minify deck-kayenta without breaking Angular DI. + // minimizer: IS_PRODUCTION ? [ + // new UglifyJSPlugin({ + // parallel: true, + // cache: true, + // test: /vendors/, + // sourceMap: true, + // }), + // ] : [], // Disable minification unless production }, resolve: { extensions: [ '.json', '.ts', '.tsx', '.js', '.jsx', '.css', '.less', '.html' ],