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

Support SourceMap for transformation #33

Closed
ChasLui opened this issue Mar 18, 2021 · 2 comments
Closed

Support SourceMap for transformation #33

ChasLui opened this issue Mar 18, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@ChasLui
Copy link

ChasLui commented Mar 18, 2021

No description provided.

@antfu antfu added the enhancement New feature or request label Mar 18, 2021
@antfu antfu changed the title Sourcemap is likely to be incorrect: a plugin (vite-plugin-components) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help Support SourceMap for transformation Mar 18, 2021
@antfu
Copy link
Member

antfu commented Apr 26, 2021

I don't use source map myself so this is kinda a low priority to me. While this should not be hard using magic-string, open for contributions if anyone really need that. Thanks

@antfu antfu closed this as completed in 8dbb2d1 May 7, 2021
@raphaelsaunier
Copy link

Thanks so much for fixing this regardless! @antfu 🙏

Not a heavy user of soucemaps either, but it feels good to no longer see a wall of with a 100+ Sourcemap is likely to be incorrect: a plugin (vite-plugin-components) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help warnings when building an app.

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

No branches or pull requests

3 participants