Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andreialecu committed Feb 4, 2024
1 parent dfe6e67 commit a724b22
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/prepareDist.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,18 @@ packageJson.exports = {
import: packageJson.module,
require: packageJson.main,
},
"./index.js": {
types: packageJson.types,
import: packageJson.module,
require: packageJson.main,
},
"./package.json": {
default: "./package.json",
},
// related to issue #8605
"./apollo-client.cjs": {
require: "./apollo-client.cjs",
},
...entryPoints.reduce((acc, { dirs, bundleName = dirs[dirs.length - 1] }) => {
if (!dirs.length) return acc;
const path = `./${dirs.join("/")}`;
Expand Down

0 comments on commit a724b22

Please sign in to comment.