| 123456789101112131415161718192021222324252627 |
- import { defineConfig } from "vite";
- import vue from "@vitejs/plugin-vue";
- import path from "path";
- export default defineConfig({
- plugins: [vue()],
- resolve: {
- alias: {
- "@": path.resolve(__dirname, "./src"),
- },
- },
- build: {
- chunkSizeWarningLimit: 1000,
- rollupOptions: {
- output: {
- manualChunks: {
- 'three-vendor': ['three'],
- 'ui-vendor': ['lucide-vue-next', '@vueuse/core'],
- }
- }
- }
- },
- test: {
- globals: true,
- environment: "jsdom",
- },
- });
|