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

Developer paths in Scala.js source maps #200

Open
steinybot opened this issue Jan 28, 2021 · 2 comments
Open

Developer paths in Scala.js source maps #200

steinybot opened this issue Jan 28, 2021 · 2 comments

Comments

@steinybot
Copy link

The Scala.js builds are including relative paths to sources on the developers machines.

For example:
../../../../../../../../../home/nick/Forks/scala.rx/scalarx/shared/src/main/scala/rx/Ctx.scala

I am trying to write a webpack loader which can fetch these sources but these paths obviously don't exist.

@fdietze
Copy link
Collaborator

fdietze commented Jan 30, 2021

Strange, the source maps should point at github:
https://github.com/lihaoyi/scala.rx/blob/master/build.sbt#L78

@fdietze
Copy link
Collaborator

fdietze commented Jan 30, 2021

This is how cats is doing it:

https://github.com/typelevel/cats/blob/master/build.sbt#L210

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

2 participants