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

option source-map-map-inline produces an empty file #2961

Closed
NicolasBernier opened this issue Sep 14, 2016 · 1 comment
Closed

option source-map-map-inline produces an empty file #2961

NicolasBernier opened this issue Sep 14, 2016 · 1 comment

Comments

@NicolasBernier
Copy link

Compiling using option --source-map-map-inline produces an empty file after upgrade to 2.7.1
lessc style.less --source-map-map-inline > style.css

  • lessc 2.7.1
  • node v6.5.0

I use to compile my less files in dev environement using the following command :
lessc style.less --source-map-less-inline --source-map-map-inline > style.css
It worked great until I upgraded my Node.js installation (the previous one was v4.4.7)

Works fine without the --source-map-map-inline parameter but no mapping in Firefox's inspector.

@NicolasBernier
Copy link
Author

Forget about it. My command line was wrong, there is no longer need to put the > stream redirector.

The following just works fine:
lessc style.less --source-map-less-inline --source-map-map-inline style.css

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

No branches or pull requests

1 participant