-
Notifications
You must be signed in to change notification settings - Fork 249
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
Enable source mapping in LESS files during grunt dev #280
Comments
Due to the way we push all the LESS files we're unable to look at this until sourcemapping in grunt-contrib-less supports multiple files. |
Setting this to a bug to highlight the fact that not having source mapping makes doing anything custom in the theme a real pain. |
The only way I can manage LESS sourcemapping is by smashing a bit of grunt and a bit of gulp together in the Gruntfile.js. It is however, remarkably effective:
Using these devDependencies in the package.json:
What do we think? PR or no PR? |
grunt dev
should run a slightly different approach of pushing all the theme files into an import that is put at the top of each less file before running less over these filesThe text was updated successfully, but these errors were encountered: