Skip to content

Commit

Permalink
fix: bundle pure.ts file correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Feb 11, 2025
1 parent 1d6be8c commit d8fc2ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"compilerOptions": {
"target": "ESNext",
"jsx": "react-jsx",
"jsx": "preserve",
"jsxFactory": "React.createElement",
"jsxImportSource": "react",
"lib": ["esnext", "dom", "DOM.Iterable"],
"module": "ESNext",
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineConfig } from 'tsup'

export default defineConfig({
entry: ['./src/index.ts', './src/pure.ts'],
entry: ['./src/index.ts', './src/pure.tsx'],
format: ['esm'],
dts: true,
})

0 comments on commit d8fc2ea

Please sign in to comment.