mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: '__exportStar undefined'
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
"tslint": "^5.4.3",
|
||||
"typedoc": "^0.13.0",
|
||||
"typedoc-plugin-external-module-name": "git://github.com/PanayotCankov/typedoc-plugin-external-module-name.git#with-js",
|
||||
"typescript": "^3.7.5"
|
||||
"typescript": "^3.9.3"
|
||||
},
|
||||
"scripts": {
|
||||
"setup": "npm run build-core && npm run build-compat && npm run setup-link",
|
||||
|
||||
4
tns-core-modules-package/application/application.js
Normal file
4
tns-core-modules-package/application/application.js
Normal file
@@ -0,0 +1,4 @@
|
||||
// use precompiled js file to make sure we require the ts-helpers to register __exportStar function
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
require("@nativescript/core/globals/ts-helpers");
|
||||
__exportStar(require("@nativescript/core/application/application"), exports);
|
||||
@@ -20,6 +20,7 @@
|
||||
"**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
"node_modules",
|
||||
"application/application.ts"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user