This repository was archived by the owner on Aug 7, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +1
-50
lines changed Expand file tree Collapse file tree 5 files changed +1
-50
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ module.exports = env => {
286
286
] ) ) ;
287
287
}
288
288
289
-
289
+
290
290
if ( report ) {
291
291
// Generate report files for bundles content
292
292
config . plugins . push ( new BundleAnalyzerPlugin ( {
Original file line number Diff line number Diff line change @@ -279,19 +279,6 @@ module.exports = env => {
279
279
] ,
280
280
} ;
281
281
282
- // Copy the native app resources to the out dir
283
- // only if doing a full build (tns run/build) and not previewing (tns preview)
284
- if ( ! externals || externals . length === 0 ) {
285
- config . plugins . push ( new CopyWebpackPlugin ( [
286
- {
287
- from : `${ appResourcesFullPath } /${ appResourcesPlatformDir } ` ,
288
- to : `${ dist } /App_Resources/${ appResourcesPlatformDir } ` ,
289
- context : projectRoot
290
- } ,
291
- ] ) ) ;
292
- }
293
-
294
-
295
282
if ( report ) {
296
283
// Generate report files for bundles content
297
284
config . plugins . push ( new BundleAnalyzerPlugin ( {
Original file line number Diff line number Diff line change @@ -234,18 +234,6 @@ module.exports = env => {
234
234
] ,
235
235
} ;
236
236
237
- // Copy the native app resources to the out dir
238
- // only if doing a full build (tns run/build) and not previewing (tns preview)
239
- if ( ! externals || externals . length === 0 ) {
240
- config . plugins . push ( new CopyWebpackPlugin ( [
241
- {
242
- from : `${ appResourcesFullPath } /${ appResourcesPlatformDir } ` ,
243
- to : `${ dist } /App_Resources/${ appResourcesPlatformDir } ` ,
244
- context : projectRoot
245
- } ,
246
- ] ) ) ;
247
- }
248
-
249
237
if ( report ) {
250
238
// Generate report files for bundles content
251
239
config . plugins . push ( new BundleAnalyzerPlugin ( {
Original file line number Diff line number Diff line change @@ -254,18 +254,6 @@ module.exports = env => {
254
254
] ,
255
255
} ;
256
256
257
- // Copy the native app resources to the out dir
258
- // only if doing a full build (tns run/build) and not previewing (tns preview)
259
- if ( ! externals || externals . length === 0 ) {
260
- config . plugins . push ( new CopyWebpackPlugin ( [
261
- {
262
- from : `${ appResourcesFullPath } /${ appResourcesPlatformDir } ` ,
263
- to : `${ dist } /App_Resources/${ appResourcesPlatformDir } ` ,
264
- context : projectRoot
265
- } ,
266
- ] ) ) ;
267
- }
268
-
269
257
if ( report ) {
270
258
// Generate report files for bundles content
271
259
config . plugins . push ( new BundleAnalyzerPlugin ( {
Original file line number Diff line number Diff line change @@ -271,18 +271,6 @@ module.exports = env => {
271
271
) ;
272
272
}
273
273
274
- // Copy the native app resources to the out dir
275
- // only if doing a full build (tns run/build) and not previewing (tns preview)
276
- if ( ! externals || externals . length === 0 ) {
277
- config . plugins . push ( new CopyWebpackPlugin ( [
278
- {
279
- from : `${ appResourcesFullPath } /${ appResourcesPlatformDir } ` ,
280
- to : `${ dist } /App_Resources/${ appResourcesPlatformDir } ` ,
281
- context : projectRoot
282
- } ,
283
- ] ) ) ;
284
- }
285
-
286
274
if ( report ) {
287
275
// Generate report files for bundles content
288
276
config . plugins . push ( new BundleAnalyzerPlugin ( {
You can’t perform that action at this time.
0 commit comments