From 97a4ed00e1b31d6cdd52821ecbd4c6a0e3dd975c Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Wed, 4 Dec 2024 01:08:56 +0530 Subject: Removed module.exports to export default in tailwind.config.js --- panel/tailwind.config.js | 3 ++- 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, - }, - }, }) - -- cgit v1.2.3-59-g8ed1b