hypery2k/nativescript-fabric

View on GitHub
demo-angular/app/vendor-platform.android.ts

Summary

Maintainability
A
0 mins
Test Coverage
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");
}