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": {
|
||||
"tns-core-modules": "*"
|
||||
"tns-core-modules": "*",
|
||||
"tslib": "^1.9.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-traverse": "6.10.4",
|
||||
|
@ -1,23 +1,28 @@
|
||||
{
|
||||
"extends": "../tsconfig.shared",
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"platforms"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"*": [
|
||||
"./node_modules/tns-core-modules/*",
|
||||
"./node_modules/*"
|
||||
],
|
||||
"~/*": [
|
||||
"app/*"
|
||||
]
|
||||
},
|
||||
"module": "commonjs",
|
||||
"target": "es5",
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"noEmitHelpers": true,
|
||||
"noEmitOnError": true,
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
]
|
||||
}
|
||||
],
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"~/*": [
|
||||
"app/*"
|
||||
],
|
||||
"*": [
|
||||
"./node_modules/tns-core-modules/*",
|
||||
"./node_modules/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"platforms"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user