From dc2d2a23dae376b09a09f01dbcaa9f2280f7ded2 Mon Sep 17 00:00:00 2001 From: Alberto Elias Date: Tue, 15 Oct 2024 20:20:20 +0200 Subject: [PATCH] Adds entrypoint to react-ui to force loading twind (#814) --- .changeset/silent-trains-explode.md | 5 +++++ packages/client/ui/react-ui/tsup.config.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/silent-trains-explode.md diff --git a/.changeset/silent-trains-explode.md b/.changeset/silent-trains-explode.md new file mode 100644 index 000000000..1d0378e21 --- /dev/null +++ b/.changeset/silent-trains-explode.md @@ -0,0 +1,5 @@ +--- +"@crossmint/client-sdk-react-ui": patch +--- + +Adds entrypoint to make sure twind is instantiated diff --git a/packages/client/ui/react-ui/tsup.config.ts b/packages/client/ui/react-ui/tsup.config.ts index 39d690a40..2c448c188 100644 --- a/packages/client/ui/react-ui/tsup.config.ts +++ b/packages/client/ui/react-ui/tsup.config.ts @@ -5,6 +5,7 @@ import { treeShakableConfig } from "../../../../tsup.config.base"; const config: Options = { ...treeShakableConfig, external: ["react", "react-dom"], + entry: ["src/index.ts"], }; export default config;