Skip to content

Commit 2007f36

Browse files
Added webpack, uglifyJS and snapshot to the sdk app (#200)
* chore: Add webpack to the project to enable unglify * fix(webpack): require main-activity.android (#197) * fix: require main-activity.android in vendor-platform * fix: add main-activity.android to native extenders list for snapshot * chore: update webpack deps * chore: Rename all 'example' files to include 'page' so that uglify works * chore: Fix incorrect navigation path when used with uglify
1 parent 777d764 commit 2007f36

File tree

297 files changed

+391
-168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+391
-168
lines changed

sdk/app/app.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import "./bundle-config";
12
import application = require("tns-core-modules/application");
23
import fresco = require("nativescript-fresco");
34
application.setCssFileName("./app.css");
@@ -24,4 +25,4 @@ if (application.android) {
2425
});
2526
}
2627

27-
application.start("./navigation/category-list");
28+
application.start("./navigation/category-list-page");

sdk/app/autocomplete/completion-mode/autocomplete-contains.ts renamed to sdk/app/autocomplete/completion-mode/autocomplete-contains-page.ts

File renamed without changes.

sdk/app/autocomplete/completion-mode/autocomplete-contains.xml renamed to sdk/app/autocomplete/completion-mode/autocomplete-contains-page.xml

File renamed without changes.

sdk/app/autocomplete/completion-mode/autocomplete-startswith.ts renamed to sdk/app/autocomplete/completion-mode/autocomplete-startswith-page.ts

File renamed without changes.

sdk/app/autocomplete/completion-mode/autocomplete-startswith.xml renamed to sdk/app/autocomplete/completion-mode/autocomplete-startswith-page.xml

File renamed without changes.

sdk/app/autocomplete/customization/autocomplete-customization.ts renamed to sdk/app/autocomplete/customization/autocomplete-customization-page.ts

File renamed without changes.

sdk/app/autocomplete/customization/autocomplete-customization.xml renamed to sdk/app/autocomplete/customization/autocomplete-customization-page.xml

File renamed without changes.

sdk/app/autocomplete/display-mode/autocomplete-plain.ts renamed to sdk/app/autocomplete/display-mode/autocomplete-plain-page.ts

File renamed without changes.

sdk/app/autocomplete/display-mode/autocomplete-plain.xml renamed to sdk/app/autocomplete/display-mode/autocomplete-plain-page.xml

File renamed without changes.

sdk/app/autocomplete/display-mode/autocomplete-tokens.ts renamed to sdk/app/autocomplete/display-mode/autocomplete-tokens-page.ts

File renamed without changes.

0 commit comments

Comments
 (0)