mirror of
https://github.com/vitejs/vite.git
synced 2024-11-22 07:09:05 +00:00
13 lines
314 B
JavaScript
13 lines
314 B
JavaScript
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
ssr: {
|
|
external: ['@vitejs/test-ssr-conditions-external'],
|
|
noExternal: ['@vitejs/test-ssr-conditions-no-external'],
|
|
resolve: {
|
|
conditions: ['react-server'],
|
|
externalConditions: ['workerd', 'react-server'],
|
|
},
|
|
},
|
|
})
|