Skip to content

Commit 23a0e13

Browse files
committed
chore(webpack): enable xhtml tags in ng build
1 parent a401de1 commit 23a0e13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ export function getWebpackCommonConfig(
137137
template: path.resolve(appRoot, appConfig.index),
138138
filename: path.resolve(appConfig.outDir, appConfig.index),
139139
chunksSortMode: packageChunkSort(['inline', 'styles', 'scripts', 'vendor', 'main']),
140-
excludeChunks: lazyChunks
140+
excludeChunks: lazyChunks,
141+
xhtml: true
141142
}),
142143
new BaseHrefWebpackPlugin({
143144
baseHref: baseHref

0 commit comments

Comments
 (0)