After developing an alpha version of a Dart-based web application, I'm interested in testing the Dart2js deployment potentials of my app. However, it doesn't seem there is a "clean" way of creating a JS deployment version of the app - the dart2js code outputs stuff to the out directory, but there is other Dart stuff in there too. It seems things reference back to the web parent directory, and then there are all the packages references. I thought of copying all the stuff in out to a separate directory, but that doesn't seem to work.
Is there a clean way to create a deployment of the Javascript version of a Dart app?
Thanks in advance,
-D
pub deploy
command supposed to be available? The smaller question is what steps would normally be involved in that process? If I knew those, I could somewhat work around a lot of this, at least in order to me my demo deadlines untilpub deploy
is ready.... Thanks for the heads up on that other article. – Relate