Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jridgewell/sourcemap-codec is unmaintained, throws error bundled with Vite #264

Open
shellscape opened this issue Dec 3, 2023 · 1 comment
Labels

Comments

@shellscape
Copy link

shellscape commented Dec 3, 2023

When bundled with Vite out of the box, @jridgewell/sourcemap-codec isn't functioning correctly or doesn't have the right build settings. I considered opening an issue upstream, but the project is unmaintained since April 2023 and the author is not responding to contributions. Result is:

magic-string.es.mjs?v=71e65a2c:1 Uncaught SyntaxError: The requested module 'node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js?v=71e65a2c' does not provide an export named 'encode' (at magic-string.es.mjs?v=71e65a2c:1:10)
```

@mourner
Copy link
Collaborator

mourner commented Dec 3, 2023

April 2023 seems pretty recent as far as small specialized libraries like this go, and there are only 2 open PRs — "unmaintained" is too strong of a judgement for that. Please submit a PR there or comment on an existing one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants