aboutsummaryrefslogtreecommitdiffstats
path: root/panel/vite.config.js
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-12-04 01:03:56 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-12-04 01:03:56 +0530
commit1804c246549e68023ddbaed2675e7f652c0d7f22 (patch)
tree2e14f04c505d30070c7dea46e094be7d276788ff /panel/vite.config.js
parent56ed3f27d1692862a937c20401053f20649b914c (diff)
downloadadmin-panel-1804c246549e68023ddbaed2675e7f652c0d7f22.tar.gz
admin-panel-1804c246549e68023ddbaed2675e7f652c0d7f22.tar.bz2
admin-panel-1804c246549e68023ddbaed2675e7f652c0d7f22.zip
config update
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,
+ },
+ },
})
+