mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
non-destructive hydration expects the DOM tree to have the same structure in both places. With this commit, the app will throw an error if comments are stripped out by the http server (eg by some CDNs). fixes #51160 PR Close #51170
9 lines
280 B
JSON
9 lines
280 B
JSON
/** Root tsconfig file for checking Angular packages with tsec. */
|
|
{
|
|
"extends": "./tsconfig-build.json",
|
|
"compilerOptions": {
|
|
"noEmit": true,
|
|
"lib": ["es2020", "dom", "dom.iterable"],
|
|
"plugins": [{"name": "tsec", "exemptionConfig": "./tsec-exemption.json"}]
|
|
}
|
|
}
|