From b64f41c4439e8882a0c2ecd7ad967af866c543f4 Mon Sep 17 00:00:00 2001 From: Brijesh Bittu Date: Thu, 29 Aug 2024 10:47:26 +0530 Subject: [PATCH] temp --- apps/test-vite-app/vite.config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/test-vite-app/vite.config.ts b/apps/test-vite-app/vite.config.ts index a64248b4..ebdb1f0d 100644 --- a/apps/test-vite-app/vite.config.ts +++ b/apps/test-vite-app/vite.config.ts @@ -1,9 +1,9 @@ -import { defineConfig } from 'vite'; +import { defineConfig, Plugin } from 'vite'; import react from '@vitejs/plugin-react'; -import { pigment } from '@pigment-css/vite-plugin'; +import { pigment, PigmentOptions } from '@pigment-css/vite-plugin'; import { createTheme } from '@mui/material/styles'; -const pigmentConfig = { +const pigmentConfig: PigmentOptions = { theme: createTheme({ cssVariables: true, colorSchemes: { light: true, dark: true }, @@ -13,5 +13,5 @@ const pigmentConfig = { // https://vitejs.dev/config/ export default defineConfig({ - plugins: [react(), pigment(pigmentConfig)], + plugins: [react(), pigment(pigmentConfig) as unknown as Plugin], });