diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-12-04 01:08:56 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-12-04 01:08:56 +0530 |
commit | 97a4ed00e1b31d6cdd52821ecbd4c6a0e3dd975c (patch) | |
tree | 8c1e8248923317d8e51b8a1d673e6370f6e97cc9 /panel | |
parent | 1804c246549e68023ddbaed2675e7f652c0d7f22 (diff) | |
download | admin-panel-master.tar.gz admin-panel-master.tar.bz2 admin-panel-master.zip |
Diffstat (limited to 'panel')
-rw-r--r-- | panel/tailwind.config.js | 3 | ||||
-rw-r--r-- | panel/vite.config.js | 12 |
2 files changed, 3 insertions, 12 deletions
diff --git a/panel/tailwind.config.js b/panel/tailwind.config.js index 1490793..a3ee00c 100644 --- a/panel/tailwind.config.js +++ b/panel/tailwind.config.js @@ -1,5 +1,5 @@ /** @type {import('tailwindcss').Config} */ -module.exports = { +export default { content: [ "./src/**/*.{js,jsx,ts,tsx}", ], @@ -8,3 +8,4 @@ module.exports = { }, plugins: [], } + diff --git a/panel/vite.config.js b/panel/vite.config.js index 78bbc48..5a33944 100644 --- a/panel/vite.config.js +++ b/panel/vite.config.js @@ -1,17 +1,7 @@ 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, - }, - }, }) - |