parent
dcefcd19cb
commit
d9358d555f
@ -71,6 +71,7 @@ let config = {
|
|||||||
|
|
||||||
if (process.env.NODE_ENV === "production") {
|
if (process.env.NODE_ENV === "production") {
|
||||||
config.plugins.push(new webpack.optimize.UglifyJsPlugin({
|
config.plugins.push(new webpack.optimize.UglifyJsPlugin({
|
||||||
|
sourceMap: true,
|
||||||
comments: false
|
comments: false
|
||||||
}));
|
}));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user