metacubexd/vite.config.ts

10 lines
287 B
TypeScript
Raw Normal View History

import { defineConfig, splitVendorChunkPlugin } from 'vite'
2023-08-24 04:20:53 +08:00
import solidPlugin from 'vite-plugin-solid'
export default defineConfig({
base: './',
build: { chunkSizeWarningLimit: 1000 },
resolve: { alias: { '~': '/src' } },
2023-08-30 10:41:40 +08:00
plugins: [solidPlugin(), splitVendorChunkPlugin()],
2023-08-24 04:20:53 +08:00
})