减少TraceItem数据量较大时的性能浪费
智能大石头 authored at 2024-10-22 08:41:14
421.00 B
Stardust
import vue from '@vitejs/plugin-vue';
import path from 'path';
import { defineConfig } from 'vite';

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  resolve: {
    alias: {
      '@': path.resolve(__dirname, './src'),
      CubeUI: path.resolve(__dirname, './src/CubeUI'),
    },
    extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue'], // 默认后缀支持vue
  },
});