Skip to content

Commit

Permalink
fix prepare script
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Mar 21, 2020
1 parent be98c7b commit 60246ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exchanges/suspense/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"suspense"
],
"main": "dist/urql-exchange-suspense.js",
"module": "dist/urql-exchange-suspense.mjs",
"module": "dist/urql-exchange-suspense.es.js",
"types": "dist/types/index.d.ts",
"source": "src/index.ts",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/prepare/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if (hasReact) {

invariant(
path.normalize(pkg.module) === `dist/${name}.es.js`,
'package.json:main path must end in `.es.js` for packages depending on React.'
'package.json:module path must end in `.es.js` for packages depending on React.'
);
} else {
invariant(
Expand Down

0 comments on commit 60246ae

Please sign in to comment.