Closed
Description
- Operating System: Windows
- Node Version: 12.14.1
- NPM Version: 6.13.4
- webpack Version: 4.42.1
- html-loader Version: 4.0.1
Expected Behavior
The default configuration should not mess up the build for all Angular users
Actual Behavior
Since minimize is enabled as default for production builds it automatically fails Angular's production build when you update this package.
How Do We Reproduce?
Use Webpack and AngularCompilerPlugin to compile you Angular build.
I will close this as soon as it's created. I just want people to be able to search for this issue so they don't have to dig into this like I had to.
Solution
Turn of minimize:
{
test: /\.html$/,
loader: 'html-loader',
options: {
minimize: false
}
},
Keywords: html-loader webpack angular build fail ivy compile
Metadata
Metadata
Assignees
Labels
No labels