mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-09 03:03:18 +00:00
fix(schema, vite): resolve mode
config correctly (#5255)
This commit is contained in:
parent
eb12c7a845
commit
9379606222
@ -16,7 +16,7 @@ export default {
|
||||
$resolve: (val, get) => val ?? get('srcDir'),
|
||||
},
|
||||
mode: {
|
||||
$resolve: (val, get) => val ?? get('dev') ? 'development' : 'production',
|
||||
$resolve: (val, get) => val ?? (get('dev') ? 'development' : 'production'),
|
||||
},
|
||||
logLevel: 'warn',
|
||||
define: {
|
||||
|
Loading…
Reference in New Issue
Block a user