Skip to content

Commit

Permalink
feat(ionic): update tsconfig.json (#224)
Browse files Browse the repository at this point in the history
The current tsconfig doesn't extends the base tsconfig, consequently it is impossible to imports items from the generated libs using the lib path alias generated by NX.
See here the original NX file: https://github.com/nrwl/nx/blob/master/packages/angular/src/schematics/application/files/tsconfig.json
  • Loading branch information
pegaltier authored and NathanWalker committed Dec 3, 2020
1 parent 3a166c1 commit 74a0750
Showing 1 changed file with 11 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
{
"compileOnSave": false,
"extends": "<%= offsetFromRoot %>tsconfig.base.json",
"files": [],
"include": [],
"references": [
{
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.spec.json"
}]
],
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "esnext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es2015",
"typeRoots": ["./node_modules/@types"],
"lib": ["es2018", "dom"],
"baseUrl": "./",
"paths": {
"@<%= npmScope %>/*": ["<%= pathOffset %>libs/*"],
"@<%= npmScope %>/ionic": [
Expand Down

0 comments on commit 74a0750

Please sign in to comment.