diff --git a/apps/toolbox/package.json b/apps/toolbox/package.json
index 778084d24..643b989ca 100644
--- a/apps/toolbox/package.json
+++ b/apps/toolbox/package.json
@@ -7,13 +7,14 @@
"url": "https://github.com/NativeScript/NativeScript.git"
},
"dependencies": {
- "@nativescript/core": "file:../../packages/core",
+ "@akylas/nativescript": "file:../../packages/core",
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core"
},
"devDependencies": {
+ "@nativescript/core": "file:../../packages/core",
"@nativescript/android": "8.1.1",
"@nativescript/ios": "8.1.0",
- "@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
+ "@nativescript/webpack": "5.0.4",
"typescript": "4.3.5"
}
}
diff --git a/apps/toolbox/references.d.ts b/apps/toolbox/references.d.ts
index 77d634a29..3569e5776 100644
--- a/apps/toolbox/references.d.ts
+++ b/apps/toolbox/references.d.ts
@@ -1,2 +1,3 @@
///
///
+declare let global: NodeJS.Global & typeof globalThis;
diff --git a/apps/toolbox/webpack.config.js b/apps/toolbox/webpack.config.js
index 509672c37..8593e6e18 100644
--- a/apps/toolbox/webpack.config.js
+++ b/apps/toolbox/webpack.config.js
@@ -4,6 +4,7 @@ module.exports = (env) => {
webpack.init(env);
webpack.chainWebpack(config => {
+ config.resolve.alias.set('@nativescript/core', '@akylas/nativescript');
config.plugin('DefinePlugin').tap(args => {
Object.assign(args[0], {
__CI__: !!process.env.CI,