-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible with external CSS sourcemaps #26
Comments
Hi! As you've probably seen when looking through issues, I haven't really done any effort to try to make it work with external sourcemaps, just inline ones. The exact reason for this escapes me, but I believe it was something about the way Broccoli handles temporary files as things goes through the funnels. (The reference to the external sourcemap would be wrong, or something along those lines). Also, that part is mostly handled in As you've shown though, it's pretty clear that is should be possible to do considering ember-cli-sass handles things just fine. I'd love to make it work. So:
Should be possible to implement, but I don't know of a way to do it as the addon is currently. Any help appreciated, but I'll look in to it myself as well.
That's interesting, I haven't considered using sourcemaps for the production build, but I guess there's no reason not to, really!
Huh, not sure what that is, but sounds like an error from Autoprefixer itself, possibly. Maybe one of the things you have provided to Sorry for the lack of an actual solution to your issue at the moment, but I wanted to reply with what I have instead of giving you just silence. Any thoughts or suggestions? Thanks. |
This is actually new to me I think. That along with ember-cli-sass is probably a good place to start. |
The |
Stack trace for the
Linked trace:
Possibly related: |
It looks like fast-sourcemap-concat is generating JS-style sourcemaps comments: div{color:blue;}//# sourceMappingURL=vendor.css.map This causes autoprefixer to blow up on the invalid CSS. Doesn't seem to be (directly) a problem with this library. |
I'm trying to add this to a project that uses ember-cli-sass (in case #18 is relevant) and Ember-CLI's built-in sourcemaps support.
My configuration before adding this:
This caused
sourceMappingURL
s to appear in my compiled CSS files. These were external links.When I added
I started getting
unknown word
errors.I found #18 and #9 and tried changing my configuration to
This works, but causes the CSS sourcemaps to be emitted as inline data URIs, which dramatically increase the weight of the CSS files. (So much so that it's not worth it to minify at all!)
Is there a way to get this to work with external CSS sourcemaps?
The text was updated successfully, but these errors were encountered: