-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
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