diff --git a/.changeset/smooth-poets-glow.md b/.changeset/smooth-poets-glow.md new file mode 100644 index 000000000..8ae6f995d --- /dev/null +++ b/.changeset/smooth-poets-glow.md @@ -0,0 +1,7 @@ +--- +"@suspensive/react-await": patch +"@suspensive/react-query": patch +"@suspensive/react": patch +--- + +fix: add module field of package.json diff --git a/packages/react-await/package.json b/packages/react-await/package.json index becacdc2f..0eb6a0127 100644 --- a/packages/react-await/package.json +++ b/packages/react-await/package.json @@ -38,6 +38,7 @@ "./package.json": "./package.json" }, "main": "dist/index.cjs", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", diff --git a/packages/react-query/package.json b/packages/react-query/package.json index a5c27e644..63f049bbf 100644 --- a/packages/react-query/package.json +++ b/packages/react-query/package.json @@ -39,6 +39,7 @@ "./package.json": "./package.json" }, "main": "dist/index.cjs", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", diff --git a/packages/react/package.json b/packages/react/package.json index 43bc6dcc6..62529949b 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -38,6 +38,7 @@ "./package.json": "./package.json" }, "main": "dist/index.cjs", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist",