Merge pull request #16 from AbinayaSubbiah/master
"configuration has an unknown property 'htmlLoader'" error fixed.
This commit is contained in:
Коммит
45872b0969
|
@ -16,13 +16,8 @@ module.exports = webpackMerge(commonConfig, {
|
|||
chunkFilename: '[id].[hash].chunk.js'
|
||||
},
|
||||
|
||||
htmlLoader: {
|
||||
minimize: false // workaround for ng2
|
||||
},
|
||||
|
||||
plugins: [
|
||||
new webpack.NoErrorsPlugin(),
|
||||
new webpack.optimize.DedupePlugin(),
|
||||
new webpack.NoEmitOnErrorsPlugin(),
|
||||
new webpack.optimize.UglifyJsPlugin({ // https://github.com/angular/angular/issues/10618
|
||||
mangle: {
|
||||
keep_fnames: true
|
||||
|
@ -33,6 +28,11 @@ module.exports = webpackMerge(commonConfig, {
|
|||
'process.env': {
|
||||
'ENV': JSON.stringify(ENV)
|
||||
}
|
||||
}),
|
||||
new webpack.LoaderOptionsPlugin({
|
||||
htmlLoader: {
|
||||
minimize: false // workaround for ng2
|
||||
}
|
||||
})
|
||||
]
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче