June 2017
Intermediate to advanced
873 pages
18h 9m
English
There comes a point in time where you consider your app to be production ready, and you are eager to hand it over to your clients or users. If it is a web app in the Dart world at this moment in time, this means compiling to JavaScript. Luckily, the pub tool will take care of this stage in your app's life, so that your app can be deployed successfully.
This is pretty straightforward. To prepare, you need to run and test your application in both the checked and production modes.
Run the pub build command (see the Compiling your app to JavaScript recipe in Chapter 1, Working with Dart Tools), either from the command line or in Dart Editor. This creates the build folder with the subfolder ...
Read now
Unlock full access