Skip to content

Conversation

bryanbraun
Copy link
Contributor

This should fix #17

Currently, when some bundlers import json-url, they see the module entrypoint and favor it over the commonjs, node, or browser entrypoints.

Unfortunately, the module entrypoint won't work successfully until can we use a bundling tool that creates a ESM-friendly bundle (Webpack still can't do that). This is because json-url has dependencies that aren't ESM friendly.

It seems like the best thing to do is to back out this change for now.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.097% when pulling 3e0250c on bryanbraun:revert-incomplete-entrypoint into 8ccca66 on masotime:master.

@masotime masotime merged commit 07ae2c6 into masotime:master Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Module not found: 'main/codecs' in '/lerna-monorepo/node_modules/json-url/src/main'

3 participants