-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
146ca67
commit 2601995
Showing
7 changed files
with
132 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
require("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"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// There is a bug in angular: https://github.com/angular/angular-cli/pull/8589/files | ||
// Legendary stuff, its webpack plugin pretty much doesn't work with empty TypeScript files in v1.8.3 | ||
void 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
// Snapshot the ~/app.css and the theme | ||
const application = require("application"); | ||
require("ui/styling/style-scope"); | ||
const appCssContext = require.context("~/", false, /^\.\/app\.(css|scss|less|sass)$/); | ||
global.registerWebpackModules(appCssContext); | ||
application.loadAppCss(); | ||
|
||
require("./vendor-platform"); | ||
|
||
require("bundle-entry-points"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters