Skip to content
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

Do not generate empty files nor empty source map files #1491

Closed
dotnetwise opened this issue Aug 14, 2013 · 1 comment
Closed

Do not generate empty files nor empty source map files #1491

dotnetwise opened this issue Aug 14, 2013 · 1 comment

Comments

@dotnetwise
Copy link

Empty css generated files should not have the sourcemap comment at the end, rather they should not be generated on the disk at all.
Of course, no .map should be generated for empty files as well.

There are many candidates to such less files such as mixins, variables etc.

Currently you get a css file like this (and an associated source map too)

/*# sourceMappingURL=mixins.css.map */
@lukeapage
Copy link
Member

yep, I agree, thanks for the bug report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants