mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Make Aurelia webpack config as consistent as possible with the other templates
This commit is contained in:
@@ -6,7 +6,8 @@ var extractCSS = new ExtractTextPlugin('vendor.css');
|
||||
module.exports = ({ prod } = {}) => {
|
||||
const isDevBuild = !prod;
|
||||
|
||||
return {
|
||||
return [{
|
||||
stats: { modules: false },
|
||||
resolve: {
|
||||
extensions: ['.js']
|
||||
},
|
||||
@@ -51,5 +52,5 @@ module.exports = ({ prod } = {}) => {
|
||||
].concat(isDevBuild ? [] : [
|
||||
new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false } })
|
||||
])
|
||||
}
|
||||
}]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user