cmseguin / rollup-plugin-react-scoped-css

A rollup plugin designed to allow scoped css to be run in react (Compatible with vite and rollup)
43 stars 6 forks source link

Sourcemap is likely to be inccorrect #36

Open sknightq opened 1 year ago

sknightq commented 1 year ago

Incorrect was thrown out when I build my project.

transforming (130) vite\preload-helperSourcemap is likely to be incorrect: a plugin (rollup-plugin-react-scoped-css:post) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help Sourcemap is likely to be incorrect: a plugin (rollup-plugin-react-scoped-css:post) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help

cmseguin commented 1 year ago

I was a bit nervous when I did that part of the plugin that something like that would be causing issues... I am not fully knowledgeable on the subject so feel free to open a PR if you know how to fix the issue. I will try to look into it but don't have as much free time as I used to.