Skip to content

Commit

Permalink
Aha, bad entrypoint name.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshew committed May 16, 2023
1 parent 67bb587 commit 293c007
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/with-react-native-web/packages/ui/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { Button, type ButtonProps } from "./button";
export { Button, type ButtonProps } from "./Button";
3 changes: 2 additions & 1 deletion examples/with-react-native-web/packages/ui/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import { defineConfig, Options } from "tsup";

export default defineConfig((options: Options) => ({
entry: {
".": "src/index.tsx",
index: "src/index.tsx",
},
banner: {
js: "'use client'",
},
clean: true,
format: ["cjs", "esm"],
external: ["react"],
dts: true,
Expand Down

0 comments on commit 293c007

Please sign in to comment.