Skip to content

Commit

Permalink
ESM by default (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiSpencer authored Jun 18, 2024
1 parent 9e2e1b7 commit 97b0d01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: pnpm build

- name: Check publish configuration
run: pnpm publint
run: pnpm publint --strict

- name: Check library type configuration
run: pnpm attw --pack .
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "react-trello-ts",
"version": "2.1.0",
"description": "Pluggable typesafe components to add a trello like kanban board to your application",
"main": "./dist/index.cjs",
"main": "./dist/index.mjs",
"type": "module",
"exports": {
".": {
"import": "./dist/index.mjs",
Expand Down

0 comments on commit 97b0d01

Please sign in to comment.