This repository was archived by the owner on Aug 7, 2021. It is now read-only.
File tree 5 files changed +1
-50
lines changed
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 @@ -265,18 +265,6 @@ module.exports = env => {
265
265
] ,
266
266
} ;
267
267
268
- // Copy the native app resources to the out dir
269
- // only if doing a full build (tns run/build) and not previewing (tns preview)
270
- if ( ! externals || externals . length === 0 ) {
271
- config . plugins . push ( new CopyWebpackPlugin ( [
272
- {
273
- from : `${ appResourcesFullPath } /${ appResourcesPlatformDir } ` ,
274
- to : `${ dist } /App_Resources/${ appResourcesPlatformDir } ` ,
275
- context : projectRoot
276
- } ,
277
- ] ) ) ;
278
- }
279
-
280
268
if ( report ) {
281
269
// Generate report files for bundles content
282
270
config . plugins . push ( new BundleAnalyzerPlugin ( {
Original file line number Diff line number Diff line change @@ -274,18 +274,6 @@ module.exports = env => {
274
274
) ;
275
275
}
276
276
277
- // Copy the native app resources to the out dir
278
- // only if doing a full build (tns run/build) and not previewing (tns preview)
279
- if ( ! externals || externals . length === 0 ) {
280
- config . plugins . push ( new CopyWebpackPlugin ( [
281
- {
282
- from : `${ appResourcesFullPath } /${ appResourcesPlatformDir } ` ,
283
- to : `${ dist } /App_Resources/${ appResourcesPlatformDir } ` ,
284
- context : projectRoot
285
- } ,
286
- ] ) ) ;
287
- }
288
-
289
277
if ( report ) {
290
278
// Generate report files for bundles content
291
279
config . plugins . push ( new BundleAnalyzerPlugin ( {
You can’t perform that action at this time.
0 commit comments