Skip to content

Add a node compilation targetΒ #59864

@buergerling

Description

@buergerling

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.type-enhancementA request for a change that isn't a bugweb-dart2js

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions