This repository was archived by the owner on Aug 7, 2021. It is now read-only.
File tree 3 files changed +2
-3
lines changed 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ module.exports = env => {
149
149
{
150
150
loader : "nativescript-dev-webpack/bundle-config-loader" ,
151
151
options : {
152
- registerPages : false ,
152
+ angular : true ,
153
153
loadCss : ! snapshot , // load the application css if in debug mode
154
154
}
155
155
} ,
@@ -249,6 +249,7 @@ module.exports = env => {
249
249
if ( snapshot ) {
250
250
config . plugins . push ( new nsWebpack . NativeScriptSnapshotPlugin ( {
251
251
chunk : "vendor" ,
252
+ angular : true ,
252
253
requireModules : [
253
254
"reflect-metadata" ,
254
255
"@angular/platform-browser" ,
Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ module.exports = env => {
143
143
{
144
144
loader : "nativescript-dev-webpack/bundle-config-loader" ,
145
145
options : {
146
- registerPages : true , // applicable only for non-angular apps
147
146
loadCss : ! snapshot , // load the application css if in debug mode
148
147
}
149
148
} ,
Original file line number Diff line number Diff line change @@ -145,7 +145,6 @@ module.exports = env => {
145
145
{
146
146
loader : "nativescript-dev-webpack/bundle-config-loader" ,
147
147
options : {
148
- registerPages : true , // applicable only for non-angular apps
149
148
loadCss : ! snapshot , // load the application css if in debug mode
150
149
}
151
150
} ,
You can’t perform that action at this time.
0 commit comments