Add "secret" compiler options to allow dart2js and pub to communicate names of output files to compiler API #17259
Labels
P1
A high priority bug; for example, a single project is unusable or has many test failures
web-dart2js
Problem:
To enable sources maps, you need to append the name of the source map file to the generated output from dart2js (out.js or out.dart by default).
The compiler API (sdk/lib/_internal/compiler/compiler.dart) isn't aware of the these names, so it cannot append these tags. So the names are appended by the dart2js command-line wrapper (sdk/lib/_internal/compiler/implementation/dart2js.dart).
This means that pub (and any other client of the compiler API) has to duplicate this logic.
Possible solutions:
The text was updated successfully, but these errors were encountered: