Skip to content

Commit 30e388b

Browse files
committed
new tsconfig
new tsconfig file derived from the template one in NS 3.0 projects
1 parent 5b99257 commit 30e388b

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

tsconfig.json

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
43
"module": "commonjs",
5-
"removeComments": true,
4+
"target": "es5",
65
"experimentalDecorators": true,
7-
"sourceMap": true,
8-
"declaration": true
6+
"emitDecoratorMetadata": true,
7+
"noEmitHelpers": true,
8+
"noEmitOnError": true,
9+
"lib": [
10+
"es6",
11+
"dom"
12+
],
13+
"baseUrl": ".",
14+
"paths": {
15+
"*": [
16+
"./node_modules/tns-core-modules/*",
17+
"./node_modules/*"
18+
]
19+
}
920
},
10-
"files": [
11-
"demo/node_modules/tns-core-modules/tns-core-modules.d.ts",
12-
"nativescript-slides.ts"
13-
],
14-
"compileOnSave": false
21+
"exclude": [
22+
"node_modules",
23+
"demo",
24+
"**/*.aot.ts"
25+
]
1526
}

0 commit comments

Comments
 (0)