This commit is contained in:
@@ -40,7 +40,11 @@ plugins.push(
|
||||
})
|
||||
)
|
||||
if (serve) {
|
||||
const { mockApiPlugin } = await import('./octoberBrowserFixtures.mjs')
|
||||
const { mockApiPlugin } = await import(
|
||||
process.argv.includes('--gateway')
|
||||
? './gatewayBrowserFixtures.mjs'
|
||||
: './octoberBrowserFixtures.mjs'
|
||||
)
|
||||
const server = await createServer({
|
||||
...loaded.config,
|
||||
configFile: false,
|
||||
|
||||
Reference in New Issue
Block a user