mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-22 11:22:43 +00:00
fix(schema): allow overriding dev
/test
environment value (#30667)
This commit is contained in:
parent
a6b75d8674
commit
8c900bc9d0
@ -247,12 +247,16 @@ export default defineUntypedSchema({
|
||||
*
|
||||
* Normally, you should not need to set this.
|
||||
*/
|
||||
dev: Boolean(isDevelopment),
|
||||
dev: {
|
||||
$resolve: val => val ?? Boolean(isDevelopment),
|
||||
},
|
||||
|
||||
/**
|
||||
* Whether your app is being unit tested.
|
||||
*/
|
||||
test: Boolean(isTest),
|
||||
test: {
|
||||
$resolve: val => val ?? Boolean(isTest),
|
||||
},
|
||||
|
||||
/**
|
||||
* Set to `true` to enable debug mode.
|
||||
|
Loading…
Reference in New Issue
Block a user