metacubexd/vite.config.ts

14 lines
294 B
TypeScript
Raw Permalink Normal View History

2023-08-24 04:20:53 +08:00
import devtools from 'solid-devtools/vite'
import { defineConfig } from 'vite'
import solidPlugin from 'vite-plugin-solid'
export default defineConfig({
base: process.env.PUBLIC_PATH || '/',
2023-08-24 04:20:53 +08:00
resolve: {
alias: {
'~': '/src',
},
},
plugins: [devtools(), solidPlugin()],
})