Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 703cdb4

Browse files
authoredMay 9, 2017
Merge pull request #2558 from stherrienaspnet/canary-fixes
fix(tsconfig): fix module resolution for typescript
2 parents a37b6b0 + 7394b01 commit 703cdb4

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed
 

‎templates/app/tsconfig(ts).json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"target": "ES5",
1212
"skipLibCheck": true
1313
},
14+
"moduleResolution": "node",
15+
"typeRoots": [
16+
"node_modules/@types"
17+
],
1418
"exclude": [
1519
"node_modules"
1620
],
Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
2-
"compilerOptions": {
3-
"sourceMap": true,
4-
"rootDir": "./client",
5-
"module": "commonjs",
6-
"outDir": ".tmp/test"
7-
},
8-
"filesGlob": [
9-
"client/{app,components}/**/*.{spec,mock}.ts",
10-
"client/test_typings/**/*.d.ts"
11-
]
2+
"compilerOptions": {
3+
"sourceMap": true,
4+
"rootDir": "./client",
5+
"module": "commonjs",
6+
"outDir": ".tmp/test"
7+
},
8+
"moduleResolution": "node",
9+
"typeRoots": [
10+
"node_modules/@types"
11+
],
12+
"filesGlob": [
13+
"client/{app,components}/**/*.{spec,mock}.ts",
14+
"client/test_typings/**/*.d.ts"
15+
]
1216
}

0 commit comments

Comments
 (0)
Please sign in to comment.