Add a node compilation target #59864
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
triage-automation
See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.
type-enhancement
A request for a change that isn't a bug
dartjs compiles for use in the browser by making use of the self property. Running on node requires the manual addition of a preamble, which is an unacceptable procedure and runs counter to the purpose of a compiler. The user of the compiler cannot know what other problems need to be solved for execution on the node platform. Dart is advertised as a language that can also be executed on the server side. This issue is particularly relevant for serverless execution.
The text was updated successfully, but these errors were encountered: