Sign in

industry / hzzl-dp · Files

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Network
  • hzzl-dp
  • vite.config.ts
  • feat: 徽智制联-deepSeek-初版
    f5fc8d3d
    史婷婷 authored
    2025-03-28 14:53:36 +0800  
    Browse Files »
vite.config.ts 413 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vitejs.dev/config/
export default defineConfig({
  base:"./",
  plugins: [react()],
  resolve: {
    alias: {
      '@': '/src'
    },
    extensions: ['.js', '.jsx', '.ts', '.tsx', '.less']
  },
  css: {
    preprocessorOptions: {
      less: {
        math: "always",
        javascriptEnabled: true
      }
    }
  },
})