mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
16 lines
283 B
TypeScript
16 lines
283 B
TypeScript
import react from '@vitejs/plugin-react'
|
|
import type { UserConfig } from 'vite'
|
|
|
|
const config: UserConfig = {
|
|
plugins: [
|
|
react({
|
|
jsxRuntime: process.env.USE_CLASSIC === '1' ? 'classic' : 'automatic'
|
|
})
|
|
],
|
|
build: {
|
|
sourcemap: true
|
|
}
|
|
}
|
|
|
|
export default config
|