@@ -66,7 +66,7 @@ module.exports = env => {
66
66
chunk : "vendor" ,
67
67
projectRoot : __dirname ,
68
68
webpackConfig : config ,
69
- targetArchs : [ "arm" , "arm64" ] ,
69
+ targetArchs : [ "arm" , "arm64" , "ia32" ] ,
70
70
tnsJavaClassesOptions : { packages : [ "tns-core-modules" ] } ,
71
71
useLibs : false
72
72
} ) ) ;
@@ -98,7 +98,10 @@ function getRules() {
98
98
loader : "resolve-url-loader" ,
99
99
options : { silent : true } ,
100
100
} ,
101
- "nativescript-css-loader" ,
101
+ {
102
+ loader : "nativescript-css-loader" ,
103
+ options : { minimize : false }
104
+ } ,
102
105
"nativescript-dev-webpack/platform-css-loader" ,
103
106
] ) ,
104
107
} ,
@@ -170,11 +173,15 @@ function getPlugins(platform, env) {
170
173
typeChecking : false
171
174
} ) ,
172
175
173
- // Resolve .ios.css and .android.css component stylesheets
174
- new nsWebpack . UrlResolvePlugin ( { platform} ) ,
176
+ // Resolve .ios.css and .android.css component stylesheets, and .ios.html and .android component views
177
+ new nsWebpack . UrlResolvePlugin ( {
178
+ platform : platform ,
179
+ resolveStylesUrls : true ,
180
+ resolveTemplateUrl : true
181
+ } ) ,
175
182
176
183
] ;
177
-
184
+
178
185
if ( env . uglify ) {
179
186
plugins . push ( new webpack . LoaderOptionsPlugin ( { minimize : true } ) ) ;
180
187
0 commit comments