aboutsummaryrefslogtreecommitdiffstats
path: root/panel/vite.config.js
blob: 78bbc48657178425d52ac69b996afe6203d54236 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

export default defineConfig({
  plugins: [react()],
  css: {
    // Disable all CSS source maps
    devSourcemap: false,
  },
  server: {
    // Disable Vite's handling of the missing source map
    hmr: {
      overlay: false,
    },
  },
})