css-element-queries icon indicating copy to clipboard operation
css-element-queries copied to clipboard

Check in sass files

Open mariusgnicula opened this issue 5 years ago • 1 comments

Awesome work, man! I will definitely use this in my projects, though I do have a question. I use SASS & Webpack and while the plugin works great when my code is compiled down to CSS, it does not work in development as the styles are taken directly from the sass files. Is there a way to check sass files as well as css? Thanks again!

mariusgnicula avatar May 17 '19 08:05 mariusgnicula

Question is, how does your framework inject the generated css into the DOM? You need to hijack that process and let ElementQueries.init() run directly after it. As alternative, we could try to detect newly added

marcj avatar May 17 '19 09:05 marcj