We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be great to add sourcemaps support to this project. I think it should be possible to do it using magic-string (npm link).
magic-string
The implementation might look like this:
// ... transform code const res = await transformWithEsbuild(componentCode, id, { loader: 'jsx', ...esbuildOptions, }) return { code: res.code, map: new MagicString(res.code).generateMap({ source: id, }), }
The text was updated successfully, but these errors were encountered:
Looks great! Would you like to submit a PR?
Sorry, something went wrong.
Yes, I'm not sure if this code actually works, I will run a couple of tests, and in case of success I will open the PR.
Did you ever test this out?
@CodiBurley yes, but it doesn't seem to have any impact
No branches or pull requests
It would be great to add sourcemaps support to this project. I think it should be possible to do it using
magic-string
(npm link).The implementation might look like this:
The text was updated successfully, but these errors were encountered: