diff --git a/demo/app/vendor-platform.android.ts b/demo/app/vendor-platform.android.ts index 16352227..0b99ee56 100644 --- a/demo/app/vendor-platform.android.ts +++ b/demo/app/vendor-platform.android.ts @@ -1,9 +1,9 @@ -require("application"); +require("tns-core-modules/application"); if (!global["__snapshot"]) { // In case snapshot generation is enabled these modules will get into the bundle // but will not be required/evaluated. // The snapshot webpack plugin will add them to the tns-java-classes.js bundle file. // This way, they will be evaluated on app start as early as possible. - require("ui/frame"); - require("ui/frame/activity"); + require("tns-core-modules/ui/frame"); + require("tns-core-modules/ui/frame/activity"); } diff --git a/demo/app/vendor.ts b/demo/app/vendor.ts index 8a381374..146389a1 100644 --- a/demo/app/vendor.ts +++ b/demo/app/vendor.ts @@ -1,6 +1,6 @@ // Snapshot the ~/app.css and the theme -const application = require("application"); -require("ui/styling/style-scope"); +const application = require("tns-core-modules/application"); +require("tns-core-modules/ui/styling/style-scope"); const appCssContext = require.context("~/", false, /^\.\/app\.(css|scss|less|sass)$/); global.registerWebpackModules(appCssContext); application.loadAppCss();