mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
757844f0bd
Co-authored-by: 翠 / green <green@sapphi.red> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
17 lines
296 B
JavaScript
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,
|
|
},
|
|
})
|