mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix(kit): default config value in dev/prod mode (#405)
This commit is contained in:
parent
5a1ccec61f
commit
bf3f72e24e
@ -13,7 +13,7 @@ export default {
|
||||
* @see [vue@3 Documentation](https://v3.vuejs.org/api/application-config.html)
|
||||
*/
|
||||
config: {
|
||||
silent: { $resolve: (val, get) => val ?? get('dev') },
|
||||
silent: { $resolve: (val, get) => val ?? !get('dev') },
|
||||
performance: { $resolve: (val, get) => val ?? get('dev') }
|
||||
}
|
||||
},
|
||||
|
@ -198,7 +198,7 @@ export default {
|
||||
imgUrl: { esModule: false, limit: 1000 },
|
||||
pugPlain: {},
|
||||
vue: {
|
||||
productionMode: { $resolve: (val, get) => val ?? get('dev') },
|
||||
productionMode: { $resolve: (val, get) => val ?? !get('dev') },
|
||||
transformAssetUrls: {
|
||||
video: 'src',
|
||||
source: 'src',
|
||||
|
Loading…
Reference in New Issue
Block a user