The package.json files reference
"module": "dist/index.js",
However the directory is not published on npm, so it bothers tools like Vite or Histoire which rely on that.
Failed to resolve entry for package "@pluralsh/socket-apollo-link". The package may have incorrect main/module/exports specified in its package.json.
Removing the entry in the package.json files works for me, but maybe other people might need that?
The
package.jsonfiles referenceHowever the directory is not published on npm, so it bothers tools like Vite or Histoire which rely on that.
Removing the entry in the
package.jsonfiles works for me, but maybe other people might need that?