mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
15 lines
322 B
JavaScript
15 lines
322 B
JavaScript
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
build: {
|
|
ssr: './src/main.js',
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@vitejs/test-alias-original': '/src/alias-replaced.js',
|
|
'@vitejs/test-alias-non-dep': '/src/alias-replaced.js',
|
|
'node:process': '/src/alias-process.js',
|
|
},
|
|
},
|
|
})
|