Skip to content

Commit

Permalink
refactor(native): use export and export default
Browse files Browse the repository at this point in the history
  • Loading branch information
oktaysenkan committed Oct 5, 2024
1 parent 9dfc280 commit 4bd13a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/native/src/index.ts

This file was deleted.

4 changes: 4 additions & 0 deletions packages/native/src/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Iconify from "./Iconify";

export { Iconify };
export default Iconify;
2 changes: 1 addition & 1 deletion packages/native/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineConfig, Options } from "tsup";

export default defineConfig((options: Options) => ({
entry: ["src/index.ts", "src/Iconify.tsx"],
entry: ["src/index.tsx", "src/Iconify.tsx"],
banner: {
js: "'use client'",
},
Expand Down

0 comments on commit 4bd13a1

Please sign in to comment.