Preserve function names in production code
This commit is contained in:
@ -29,7 +29,8 @@ productionWebpackConfig.plugins = [
|
|||||||
new UglifyJsPlugin({
|
new UglifyJsPlugin({
|
||||||
sourceMap: true,
|
sourceMap: true,
|
||||||
uglifyOptions: {
|
uglifyOptions: {
|
||||||
compress: true
|
compress: true,
|
||||||
|
keep_fnames: true
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
|
Reference in New Issue
Block a user