fix: '__exportStar undefined'

This commit is contained in:
Vasko
2020-05-21 21:11:55 +03:00
parent 446163d3f8
commit aa646ed560
3 changed files with 7 additions and 2 deletions

View File

@@ -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",

View 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);

View File

@@ -20,6 +20,7 @@
"**/*.ts"
],
"exclude": [
"node_modules"
"node_modules",
"application/application.ts"
]
}