This repository was archived by the owner on Aug 7, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ module.exports = env => {
149149 {
150150 loader : "nativescript-dev-webpack/bundle-config-loader" ,
151151 options : {
152- registerPages : false ,
152+ angular : true ,
153153 loadCss : ! snapshot , // load the application css if in debug mode
154154 }
155155 } ,
@@ -249,6 +249,7 @@ module.exports = env => {
249249 if ( snapshot ) {
250250 config . plugins . push ( new nsWebpack . NativeScriptSnapshotPlugin ( {
251251 chunk : "vendor" ,
252+ angular : true ,
252253 requireModules : [
253254 "reflect-metadata" ,
254255 "@angular/platform-browser" ,
Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ module.exports = env => {
143143 {
144144 loader : "nativescript-dev-webpack/bundle-config-loader" ,
145145 options : {
146- registerPages : true , // applicable only for non-angular apps
147146 loadCss : ! snapshot , // load the application css if in debug mode
148147 }
149148 } ,
Original file line number Diff line number Diff line change @@ -145,7 +145,6 @@ module.exports = env => {
145145 {
146146 loader : "nativescript-dev-webpack/bundle-config-loader" ,
147147 options : {
148- registerPages : true , // applicable only for non-angular apps
149148 loadCss : ! snapshot , // load the application css if in debug mode
150149 }
151150 } ,
You can’t perform that action at this time.
0 commit comments