mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
19 lines
308 B
JavaScript
19 lines
308 B
JavaScript
import path from 'node:path'
|
|
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, 'alias'),
|
|
},
|
|
},
|
|
build: {
|
|
sourcemap: true,
|
|
rollupOptions: {
|
|
output: {
|
|
inlineDynamicImports: true,
|
|
},
|
|
},
|
|
},
|
|
})
|