mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00
chore(apps): add tslib dep and update tsconfig.json file (#6464)
* fix: don't crash on startup due to tslib not being found * fix: prevent error 'sourceMap' cannot be specified with option 'inlineSourceMap' * Revert "fix: prevent error 'sourceMap' cannot be specified with option 'inlineSourceMap'" This reverts commit c9d96de10ad9256aa7c42b1db55b5117443e2027. * chore: updates tsconfig.json file
This commit is contained in:
@ -13,7 +13,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tns-core-modules": "*"
|
"tns-core-modules": "*",
|
||||||
|
"tslib": "^1.9.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-traverse": "6.10.4",
|
"babel-traverse": "6.10.4",
|
||||||
|
@ -1,23 +1,28 @@
|
|||||||
{
|
{
|
||||||
"extends": "../tsconfig.shared",
|
|
||||||
"exclude": [
|
|
||||||
"node_modules",
|
|
||||||
"platforms"
|
|
||||||
],
|
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"module": "commonjs",
|
||||||
"paths": {
|
"target": "es5",
|
||||||
"*": [
|
"experimentalDecorators": true,
|
||||||
"./node_modules/tns-core-modules/*",
|
"emitDecoratorMetadata": true,
|
||||||
"./node_modules/*"
|
"noEmitHelpers": true,
|
||||||
],
|
"noEmitOnError": true,
|
||||||
"~/*": [
|
|
||||||
"app/*"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"lib": [
|
"lib": [
|
||||||
"es6",
|
"es6",
|
||||||
"dom"
|
"dom"
|
||||||
]
|
],
|
||||||
}
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"~/*": [
|
||||||
|
"app/*"
|
||||||
|
],
|
||||||
|
"*": [
|
||||||
|
"./node_modules/tns-core-modules/*",
|
||||||
|
"./node_modules/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"exclude": [
|
||||||
|
"node_modules",
|
||||||
|
"platforms"
|
||||||
|
]
|
||||||
}
|
}
|
Reference in New Issue
Block a user