Skip to content

Commit 4da922e

Browse files
cexbrayatalan-agius4
authored andcommitted
feat(@schematics/angular): use isolatedModules in generated project
As 3acb776 introduced an optimization for projects that use `isolatedModules`, this commit makes projects generated with `ng new` use this option by default.
1 parent 1fb446e commit 4da922e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/schematics/angular/workspace/files/tsconfig.json.template

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"noImplicitReturns": true,
1111
"noFallthroughCasesInSwitch": true,<% } %>
1212
"skipLibCheck": true,
13+
"isolatedModules": true,
1314
"esModuleInterop": true,
1415
"sourceMap": true,
1516
"declaration": false,

0 commit comments

Comments
 (0)