How can I use code generation to compile Dart to JS and store the result as a Dart constant?

前端 未结 0 1748
悲&欢浪女
悲&欢浪女 2021-02-14 18:31

I\'m building a HTTP server in Dart, and I\'d like to inject a Dart script into served pages. Using the build_web_compilers package, I\'ve set up compilation like so:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题