babel-plugin-wrap-in-js icon indicating copy to clipboard operation
babel-plugin-wrap-in-js copied to clipboard

Improve dev tools experience

Open novascreen opened this issue 7 years ago • 0 comments

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.

novascreen avatar Jun 29 '17 22:06 novascreen