metacubexd/vite.config.ts

10 lines
328 B
TypeScript

import devtools from 'solid-devtools/vite'
import { defineConfig, splitVendorChunkPlugin } from 'vite'
import solidPlugin from 'vite-plugin-solid'
export default defineConfig({
build: { chunkSizeWarningLimit: 1000 },
resolve: { alias: { '~': '/src' } },
plugins: [devtools(), solidPlugin(), splitVendorChunkPlugin()],
})