Skip to content

Feature request: support for dartdevc and package:analyzer on web #50181

@maks

Description

@maks

Following on from #50048 (comment) @Salakar mentioned:

But yes, Zapp.run does run the Analyzer and also dartdevc fully on web

It would be great to have support in the Dart SDK for dartdevc (could this be done by supporting compiling dartdevc to WASM in future as a target?) on web as that would allow projects like Zapp as well as DartPad to make use of this functionality rather than needing to maintain custom forks. This would also allow, as shown by Zapp, for DartPad not to have to use a white-list of allowed packages, as the compilation would be happening in-browser vs server-side as well as DartPad needing far fewer server-side resources.

Also same for package:analyzer from #50048 (comment)

Zapp is currently on the version of _fe_analyzer_shared that is shipped with the Dart version in Flutter 3.0.5 since I'm stuck with >upgrading to Flutter 3.3.0 and above - there's been a bunch of Analyzer/Compiler internals changes since 3.0.5 that have broken our >usage of compiler & analyzer on web completely

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestanalyzer-apiIssues that impact the public API of the analyzer packagearea-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.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-dev-compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions