Fix exports for some bundlers by proudparrot2 · Pull Request #166 · jshttp/cookie
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 176
Comments
Merged
Fix exports for some bundlers#166
blakeembrey merged 1 commit intojshttp:masterfrom
proudparrot2:patch-1
Fix exports for some bundlers#166
blakeembrey merged 1 commit intojshttp:masterfrom
proudparrot2:patch-1
Conversation
Copy link
Contributor
proudparrot2
commented
Jul 16, 2024
proudparrot2
commented
I've been using this package in a javascript library with esbuild and it's worked fine, but for some reason, rspack can't resolve it. Adding "main": "index.js" to package.json fixed this.
Copy link
Member
wesleytodd
commented
Jul 16, 2024
wesleytodd commented
Jul 16, 2024While this is a good change and likely to land here, you might want to report that as a bug to them. The default behavior when main is missing is to use index.js: https://nodejs.org/docs/latest/api/modules.html#folders-as-modules
blakeembrey
merged commit
927d48a
into
jshttp:master
This was referenced
Oct 6, 2024
nerdy-tech-com-gitub
mentioned this pull request
k2xl
mentioned this pull request
NOUIY
mentioned this pull request
X-oss-byte
mentioned this pull request
Bonniemarie216
mentioned this pull request
X-oss-byte
mentioned this pull request
polishCarealKiller
mentioned this pull request
jwinr
mentioned this pull request
RodolfoBorbon
mentioned this pull request
X-oss-byte
mentioned this pull request
LiveGobe
mentioned this pull request
k2xl
mentioned this pull request
NOUIY
mentioned this pull request
polishCarealKiller
mentioned this pull request
X-oss-byte
mentioned this pull request
surajit03
mentioned this pull request
samueljochem
mentioned this pull request
Cee-Jay-Err0r
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment