mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix prod build demo
This commit is contained in:
@@ -22,19 +22,6 @@ module.exports = webpackMerge(commonConfig, {
|
|||||||
modules: [helpers.root('node_modules')]
|
modules: [helpers.root('node_modules')]
|
||||||
},
|
},
|
||||||
|
|
||||||
module: {
|
|
||||||
rules: [
|
|
||||||
{
|
|
||||||
test: /\.ts$/,
|
|
||||||
loader: [
|
|
||||||
'ts-loader',
|
|
||||||
'angular2-template-loader'
|
|
||||||
],
|
|
||||||
exclude: [ /node_modules/, /public/, /resources/, /dist/]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.NoEmitOnErrorsPlugin(),
|
new webpack.NoEmitOnErrorsPlugin(),
|
||||||
new webpack.optimize.UglifyJsPlugin({ // https://github.com/angular/angular/issues/10618
|
new webpack.optimize.UglifyJsPlugin({ // https://github.com/angular/angular/issues/10618
|
||||||
|
Reference in New Issue
Block a user