Skip to content

Commit

Permalink
fix: add module field of package.json (#275)
Browse files Browse the repository at this point in the history
fix #271 

# Overview

<!--
    A clear and concise description of what this pr is about.
 -->

I added module field of package.json to define esm's entry

## PR Checklist

- [x] I did below actions if need

1. I read the [Contributing
Guide](https://github.com/suspensive/react/blob/main/CONTRIBUTING.md)
2. I added documents and tests.
  • Loading branch information
manudeli authored Oct 29, 2023
1 parent aa03fb6 commit b809ec3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/smooth-poets-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@suspensive/react-await": patch
"@suspensive/react-query": patch
"@suspensive/react": patch
---

fix: add module field of package.json
1 change: 1 addition & 0 deletions packages/react-await/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"./package.json": "./package.json"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
Expand Down
1 change: 1 addition & 0 deletions packages/react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"./package.json": "./package.json"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
Expand Down
1 change: 1 addition & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"./package.json": "./package.json"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
Expand Down

0 comments on commit b809ec3

Please sign in to comment.