Skip to content

DottyJS doesn't understand -P flag #9783

Closed
@djspiewak

Description

@djspiewak

It's standard practice to add a JavaScript sourcemap to ScalaJS-generated output files. For example:

-P:scalajs:mapSourceURI:file:/Users/daniel/Development/Scala/coop/->https://raw.githubusercontent.com/djspiewak/coop/b82b37f4da7b1cb831f32a2fda1150162e5b29d8/

This works just fine on Scala 2, but Dotty currently rejects this compiler option. It would be nice if some equivalent could be restored so that we avoid regressing functionality for users of JavaScript debuggers.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions