Skip to content

Commit

Permalink
Use TypeScript bundler module resolution #10322
Browse files Browse the repository at this point in the history
The TypeScript language service benefits from this option by allowing
import auto-discovery to leverage any exports defined for a package.
This is particularly useful for packages such as `@angular/material`
which makes extensive use of secondary package exports.
  • Loading branch information
PowerKiKi committed Jul 17, 2024
1 parent 86ebf3a commit 3fd382f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/angular-natural-gallery/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"outDir": "../../out-tsc/lib",
"declarationMap": true,
"module": "ES2022",
"moduleResolution": "node",
"moduleResolution": "bundler",
"declaration": true,
"sourceMap": true,
"inlineSources": true,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"esModuleInterop": true,
"experimentalDecorators": true,
"module": "ES2022",
"moduleResolution": "node",
"moduleResolution": "bundler",
"importHelpers": true,
"target": "ES2022",
"strict": true,
Expand Down

0 comments on commit 3fd382f

Please sign in to comment.