mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-03 03:30:04 +08:00
chore: remove obsolte webpack(4) scripts and add webpack5 test script (#10526)
This commit is contained in:
@ -119,23 +119,16 @@ module.exports = {
|
|||||||
description: '@nativescript/ui-mobile-base: Build for npm'
|
description: '@nativescript/ui-mobile-base: Build for npm'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// @nativescript/webpack
|
|
||||||
webpack: {
|
|
||||||
build: {
|
|
||||||
script: 'nx run webpack:build',
|
|
||||||
description: '@nativescript/webpack: Build for npm'
|
|
||||||
},
|
|
||||||
test: {
|
|
||||||
script: 'nx run webpack:test',
|
|
||||||
description: '@nativescript/webpack: Unit tests'
|
|
||||||
},
|
|
||||||
},
|
|
||||||
// @nativescript/webpack (5)
|
// @nativescript/webpack (5)
|
||||||
webpack5: {
|
webpack5: {
|
||||||
build: {
|
build: {
|
||||||
script: 'nx run webpack5:build',
|
script: 'nx run webpack5:build',
|
||||||
description: '@nativescript/webpack(5): Build for npm'
|
description: '@nativescript/webpack(5): Build for npm'
|
||||||
},
|
},
|
||||||
|
test: {
|
||||||
|
script: 'nx run webpack5:test',
|
||||||
|
description: '@nativescript/webpack(5): Unit tests'
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"⚡": {
|
"⚡": {
|
||||||
|
|||||||
Reference in New Issue
Block a user