Preserve function names in production code

This commit is contained in:
Tom Moor
2018-12-04 22:36:13 -08:00
parent 8cbcb77486
commit cc8dacba32

View File

@ -29,7 +29,8 @@ productionWebpackConfig.plugins = [
new UglifyJsPlugin({
sourceMap: true,
uglifyOptions: {
compress: true
compress: true,
keep_fnames: true
}
}),
new webpack.DefinePlugin({