Closed dj0nes closed 7 years ago
With your changes my unit test gulp test:runtime
is not running anymore.
I can run the runtime test with my changes, though I do see that relative URL's (like the sass background image) don't make sense to the browser, and therefore aren't loaded.
We could get around this by changing relative URLs to absolute, but that doesn't seem like the best idea.
This PR is pretty outdated. Please feel free to reopen a new one.
Potential fix for issue #20 - this enables sourcemaps for runtime injection. Seems to work only on Chrome and Safari.
Disable sourcemaps by deleting the sourceMap options a the bottom of sass-inject.js, or set the sourceMapFile property value to null.