[fix] add tailwind back to storybook

This commit is contained in:
Arjan Singh
2025-09-16 17:27:26 -07:00
committed by Arjan Singh
parent 143f9e1323
commit 81a0046396

View File

@@ -15,6 +15,7 @@ const config: StorybookConfig = {
async viteFinal(config) {
// Use dynamic import to avoid CJS deprecation warning
const { mergeConfig } = await import('vite')
const { default: tailwindcss } = await import('@tailwindcss/vite')
// Filter out any plugins that might generate import maps
if (config.plugins) {
@@ -39,6 +40,7 @@ const config: StorybookConfig = {
// Replace plugins entirely to avoid inheritance issues
plugins: [
// Only include plugins we explicitly need for Storybook
tailwindcss(),
Icons({
compiler: 'vue3',
customCollections: {