diff --git a/packages/kit/src/config/schema/_app.ts b/packages/kit/src/config/schema/_app.ts index f5736929c..419d15701 100644 --- a/packages/kit/src/config/schema/_app.ts +++ b/packages/kit/src/config/schema/_app.ts @@ -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') } } }, diff --git a/packages/kit/src/config/schema/build.ts b/packages/kit/src/config/schema/build.ts index 693120d7c..c0f281077 100644 --- a/packages/kit/src/config/schema/build.ts +++ b/packages/kit/src/config/schema/build.ts @@ -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',