aboutsummaryrefslogtreecommitdiffstats
path: root/panel/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'panel/vite.config.js')
-rw-r--r--panel/vite.config.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/panel/vite.config.js b/panel/vite.config.js
index 5a33944..78bbc48 100644
--- a/panel/vite.config.js
+++ b/panel/vite.config.js
@@ -1,7 +1,17 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
-// https://vitejs.dev/config/
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,
+ },
+ },
})
+