From eda865c2bb9012c48a7b8331d42a4a62db1dff00 Mon Sep 17 00:00:00 2001 From: Simon Farshid Date: Mon, 30 Sep 2024 20:26:00 -0700 Subject: [PATCH] fix: tailwindcss import fix (#934) fixes #933 Co-authored-by: Travis James --- packages/react-markdown/src/tailwindcss/index.ts | 2 +- packages/react/src/tailwindcss/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-markdown/src/tailwindcss/index.ts b/packages/react-markdown/src/tailwindcss/index.ts index 5ae0950c7..eed115208 100644 --- a/packages/react-markdown/src/tailwindcss/index.ts +++ b/packages/react-markdown/src/tailwindcss/index.ts @@ -1,4 +1,4 @@ -import plugin from "tailwindcss/plugin"; +import plugin from "tailwindcss/plugin.js"; const auiPlugin = plugin.withOptions<{}>(() => ({ addComponents }) => { addComponents({ diff --git a/packages/react/src/tailwindcss/index.ts b/packages/react/src/tailwindcss/index.ts index d102e259b..237897625 100644 --- a/packages/react/src/tailwindcss/index.ts +++ b/packages/react/src/tailwindcss/index.ts @@ -1,4 +1,4 @@ -import plugin from "tailwindcss/plugin"; +import plugin from "tailwindcss/plugin.js"; type AssistantTailwindPluginColors = { border: string;