diff --git a/webpack.config.js b/webpack.config.js index f4ab910..a868b11 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -35,6 +35,15 @@ module.exports = { }, resolve: { extensions: [".ts", ".tsx", ".js"] + }, + optimization: { + minimizer: isProduction ? [ + new UglifyJsPlugin({ + uglifyOptions: { + keep_classnames: true + } + }) + ]: [] } }