aboutsummaryrefslogtreecommitdiffstats
path: root/panel
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-12-04 01:08:56 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-12-04 01:08:56 +0530
commit97a4ed00e1b31d6cdd52821ecbd4c6a0e3dd975c (patch)
tree8c1e8248923317d8e51b8a1d673e6370f6e97cc9 /panel
parent1804c246549e68023ddbaed2675e7f652c0d7f22 (diff)
downloadadmin-panel-97a4ed00e1b31d6cdd52821ecbd4c6a0e3dd975c.tar.gz
admin-panel-97a4ed00e1b31d6cdd52821ecbd4c6a0e3dd975c.tar.bz2
admin-panel-97a4ed00e1b31d6cdd52821ecbd4c6a0e3dd975c.zip
Removed module.exports to export default in tailwind.config.jsHEADmaster
Diffstat (limited to 'panel')
-rw-r--r--panel/tailwind.config.js3
-rw-r--r--panel/vite.config.js12
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,
- },
- },
})
-