Skip to content

Commit

Permalink
chore(eslint-config): tree-shakable
Browse files Browse the repository at this point in the history
  • Loading branch information
tszhong0411 committed Aug 20, 2024
1 parent ffeeb82 commit 720fe93
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-nails-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tszhong0411/eslint-config': patch
---

tree-shakable
1 change: 1 addition & 0 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"postpublish": "bash ./scripts/update-git-repo.sh",
"type-check": "tsc --noEmit"
},
"sideEffects": false,
"types": "./dist/index.d.ts",
"dependencies": {
"@eslint-react/eslint-plugin": "^1.5.15",
Expand Down
5 changes: 3 additions & 2 deletions packages/eslint-config/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { defineConfig } from 'tsup'

export default defineConfig({
entry: ['src/index.ts'],
entry: ['src/**/*.ts'],
dts: true,
format: ['esm'],
target: 'esnext'
target: 'esnext',
clean: true
})

0 comments on commit 720fe93

Please sign in to comment.