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

vite build --sourcemap #37

Open
jmgirven opened this issue Mar 8, 2021 · 3 comments
Open

vite build --sourcemap #37

jmgirven opened this issue Mar 8, 2021 · 3 comments

Comments

@jmgirven
Copy link

jmgirven commented Mar 8, 2021

vite version 2.0.5
vite-plugin-react-svg version 0.2.0

I am trying to generate production source maps when building my vite app using the --sourcemap feature of the vite build command.

vite build --sourcemap

but I am experiencing warnings related to vite-plugin-react-svg:

Sourcemap is likely to be incorrect: a plugin (react-svg) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help

Should this plugin detect the --sourcemap option and output the transform files? Or should react-svg?

@sheoak
Copy link

sheoak commented May 6, 2021

@jmgirven have you found a solution?

@jmgirven
Copy link
Author

jmgirven commented May 7, 2021

I haven't, no.

@jonluca
Copy link

jonluca commented Nov 15, 2021

I am also encountering this. Can we suppress this somehow?

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

No branches or pull requests

3 participants