babel-plugin-wrap-in-js
babel-plugin-wrap-in-js copied to clipboard
Improve dev tools experience
First off, thanks for this plugin! Helped me keep my sanity trying to get Semantic UI theming to work in Next.js.
When I'm in the dev tools looking at applied styles it actually shows the path to the right .less
file and line number, but when I click on it I see the transformed file that only has a single line. Do you have an idea how that could be improved? Could the transformed file export a template literal, so it would be multiline? Then the line numbers would line up. I have no idea about babel plugin development, so please forgive my ignorance.