feat: add DISABLE_WEB_SERVER env var to skip web server
This commit is contained in:
@@ -101,7 +101,7 @@ export default defineConfig({
|
|||||||
testMatch: /.*\.pwa\.spec\.ts/,
|
testMatch: /.*\.pwa\.spec\.ts/,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
webServer: env.name === 'development' ? {
|
webServer: env.name === 'development' && !process.env.DISABLE_WEB_SERVER ? {
|
||||||
command: 'cd .. && npm run dev',
|
command: 'cd .. && npm run dev',
|
||||||
url: 'http://localhost:3000',
|
url: 'http://localhost:3000',
|
||||||
timeout: 120000,
|
timeout: 120000,
|
||||||
|
|||||||
Reference in New Issue
Block a user