-
Notifications
You must be signed in to change notification settings - Fork 19
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
Source maps for CSS #25
Comments
/cc @dgbeck |
Hi @ai ! It is actually browserify that works this magic. Just use the |
Sorry, just saw the title of this issue. We have not yet contemplated css source map support. For our own projects we use cartero which leaves each css asset separate in dev mode, so debugging is already easy and we have not had any need for source maps. This feature would be a challenge to implement in parcelify. You would have to generate the source map yourself, maybe using the ones generated by sass as building blocks, since parcelify is concatenating all the css files. Also in order to make this modular it would need to be implemented mostly as a transform. I think it would be possible, for example by using sass-to-css-stream as a starting point, but I sense devils in the details. We would also need to add a hook to parcelify so that we could dump a I'm not opposed to adding this functionality and would gladly review a PR, but right now it is not on our priority list. cartero already fills this need for us quite adequately. |
As I understand from docs, Parcelify doesn’t support sources map yet.
The text was updated successfully, but these errors were encountered: