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