vite/playground/optimize-deps-no-discovery/vite.config.js
patak 757844f0bd
refactor: remove build time pre-bundling (#15184)
Co-authored-by: 翠 / green <green@sapphi.red>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-15 14:29:54 +01:00

17 lines
296 B
JavaScript

import { defineConfig } from 'vite'
// Overriding the NODE_ENV set by vitest
process.env.NODE_ENV = ''
export default defineConfig({
optimizeDeps: {
noDiscovery: true,
include: ['@vitejs/test-dep-no-discovery'],
},
build: {
// to make tests faster
minify: false,
},
})