Skip to content

Commit 2a0cf78

Browse files
filipesilvaMRHarrison
authored andcommitted
chore(build): remove html-loader options (angular#2848)
Follow-up from angular#2537, these options still remained.
1 parent a11a420 commit 2a0cf78

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

packages/angular-cli/models/webpack-build-production.ts

-11
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,6 @@ export const getWebpackProdConfigPartial = function(projectRoot: string, appConf
7171
}),
7272
new webpack.LoaderOptionsPlugin({
7373
options: {
74-
htmlLoader: {
75-
minimize: true,
76-
removeAttributeQuotes: false,
77-
caseSensitive: true,
78-
customAttrSurround: [
79-
[/#/, /(?:)/],
80-
[/\*/, /(?:)/],
81-
[/\[?\(?/, /(?:)/]
82-
],
83-
customAttrAssign: [/\)?\]?=/]
84-
},
8574
postcss: [
8675
require('postcss-discard-comments')
8776
]

0 commit comments

Comments
 (0)