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

No sourceMappingURL for the generated css #70

Open
hyysguyang opened this issue Jul 9, 2015 · 3 comments
Open

No sourceMappingURL for the generated css #70

hyysguyang opened this issue Jul 9, 2015 · 3 comments

Comments

@hyysguyang
Copy link

Just run the sbt-less-plugin-tester, and you will find the generated foo.css don't have sourceMappingURL.

It's OK for 1.0.6.

@MattiJarvinen
Copy link

This is due to options.sourceMap.sourceMapUrl is missing when calling less

SourceMapUrl is required for map url inclusion by less.js https://github.com/less/less.js/blob/master/dist/less.js#L5151

Option is not available in
https://github.com/sbt/sbt-less/blob/master/src/main/scala/com/typesafe/sbt/less/SbtLess.scala
Option is not passed in
https://github.com/sbt/sbt-less/blob/master/src/main/resources/lessc.js#L53

@igreulich
Copy link

igreulich commented Oct 22, 2019

So, is there ANY hope this will get fixed soon?

I can't revert to 1.0.6, as far as I can tell the Typesafe -> Lightbend changeover earlier this year seems to have killed all older versions.

Maybe it has to do with an upgraded version of Scala.

@mkurz
Copy link
Member

mkurz commented Jan 13, 2024

If you provde a pull request I am very happy to review, merge and release a new version.

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

4 participants