vite build --sourcemap
jmgirven opened this issue · 3 comments
jmgirven commented
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?
jmgirven commented
I haven't, no.
jonluca commented
I am also encountering this. Can we suppress this somehow?