diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-12-04 01:03:56 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-12-04 01:03:56 +0530 |
commit | 1804c246549e68023ddbaed2675e7f652c0d7f22 (patch) | |
tree | 2e14f04c505d30070c7dea46e094be7d276788ff /panel/vite.config.js | |
parent | 56ed3f27d1692862a937c20401053f20649b914c (diff) | |
download | admin-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.js | 12 |
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, + }, + }, }) + |