metacubexd/vite.config.ts

10 lines
328 B
TypeScript
Raw Normal View History

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