diff --git a/packages/native/src/index.ts b/packages/native/src/index.ts deleted file mode 100644 index cccc9a7..0000000 --- a/packages/native/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { Iconify } from "./Iconify"; diff --git a/packages/native/src/index.tsx b/packages/native/src/index.tsx new file mode 100644 index 0000000..aeafbe5 --- /dev/null +++ b/packages/native/src/index.tsx @@ -0,0 +1,4 @@ +import Iconify from "./Iconify"; + +export { Iconify }; +export default Iconify; diff --git a/packages/native/tsup.config.ts b/packages/native/tsup.config.ts index d730aa6..a3299c7 100644 --- a/packages/native/tsup.config.ts +++ b/packages/native/tsup.config.ts @@ -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'", },