mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
0a38dc3c26
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
10 lines
280 B
JSON
10 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"}]
|
|
}
|
|
}
|