mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-26 03:27:30 +00:00
Simplify webpack config. Eliminate dev/prod override files.
This commit is contained in:
@@ -49,10 +49,6 @@ module.exports = {
|
||||
name: '[name]_[hash]'
|
||||
})
|
||||
].concat(isDevelopment ? [] : [
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
compress: { warnings: false },
|
||||
minimize: true,
|
||||
mangle: false // Due to https://github.com/angular/angular/issues/6678
|
||||
})
|
||||
new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false } })
|
||||
])
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user