mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +08:00
14 lines
294 B
TypeScript
14 lines
294 B
TypeScript
import devtools from 'solid-devtools/vite'
|
|
import { defineConfig } from 'vite'
|
|
import solidPlugin from 'vite-plugin-solid'
|
|
|
|
export default defineConfig({
|
|
base: process.env.PUBLIC_PATH || '/',
|
|
resolve: {
|
|
alias: {
|
|
'~': '/src',
|
|
},
|
|
},
|
|
plugins: [devtools(), solidPlugin()],
|
|
})
|