Closed Mottie closed 9 years ago
use this instead
el.innerHTML = '/* @include-static src/compiled-from-sass.css */';
preprocess is just a set of semi-dumb regex replaces, it doesn't care about strings ;) A comment-like string is just as good as a real comment for it.
Oh that's great thanks!
In my build process, I compile sass and I would like to inject it into the page (I'm working on a bookmarklet). When using the following format, preprocess leaves the
@include
untouched.I'll switch to use a replace method for now, unless there is a correct method of which I am unaware?