mirror of
				https://github.com/NativeScript/NativeScript.git
				synced 2025-11-04 21:06:45 +08:00 
			
		
		
		
	chore: remove obsolte webpack(4) scripts and add webpack5 test script (#10526)
This commit is contained in:
		@ -117,17 +117,6 @@ module.exports = {
 | 
				
			|||||||
				build: {
 | 
									build: {
 | 
				
			||||||
          script: 'nx run ui-mobile-base:build',
 | 
					          script: 'nx run ui-mobile-base:build',
 | 
				
			||||||
          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)
 | 
				
			||||||
@ -135,6 +124,10 @@ module.exports = {
 | 
				
			|||||||
				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