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;