mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-27 07:34:12 +08:00
11 lines
342 B
TypeScript
11 lines
342 B
TypeScript
import devtools from 'solid-devtools/vite'
|
|
import { defineConfig, splitVendorChunkPlugin } from 'vite'
|
|
import solidPlugin from 'vite-plugin-solid'
|
|
|
|
export default defineConfig({
|
|
base: './',
|
|
build: { chunkSizeWarningLimit: 1000 },
|
|
resolve: { alias: { '~': '/src' } },
|
|
plugins: [devtools(), solidPlugin(), splitVendorChunkPlugin()],
|
|
})
|