Skip to content

Commit

Permalink
Adds entrypoint to react-ui to force loading twind (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoElias authored Oct 15, 2024
1 parent 31b88a7 commit dc2d2a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/silent-trains-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@crossmint/client-sdk-react-ui": patch
---

Adds entrypoint to make sure twind is instantiated
1 change: 1 addition & 0 deletions packages/client/ui/react-ui/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit dc2d2a2

Please sign in to comment.