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
7cfc338ed7
commit
09c3f79eff
@ -244,12 +244,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