metacubexd/vite.config.ts
2023-08-30 10:41:48 +08:00

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()],
})