-
Notifications
You must be signed in to change notification settings - Fork 230
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
Create sourcemaps for sass files #477
Comments
We probably need to copy the styles to |
@dpashkevich do you have extra bandwidth to help out on this? |
i think the feature sounds great |
Trying right now, I'm still wrapping my head around the kit but this one looks simple |
@dpashkevich wicked thanks! |
Need some advice here. I'm looking at the source maps for JS and they simply embed the original sources (after es6 transpilation though) inside themselves under While that may be less critical for JS, I think we should take a different approach for styles, so we can live edit them in the browser and have the changes persist (I do that all the time with vanilla CSS). Off the top of my head, I don't see an easy solution for EAK as it does a lot of copying in its build process. But anyway, |
PS I didn't report that the sourceMap file actually does gets generated if we add the appropriate options to options: {
sourceComments: 'map',
sourceMap: 'tmp/result/assets/app.css.map'
} But the browser needs to be able to fetch the original files |
Note to self: don't forget to make autoprefixer re-generate whatever sourcemap's there to the final version |
closing in favour of PR |
And possibly for other CSS preprocessor syntaxes.
The text was updated successfully, but these errors were encountered: