Use the webdev build command to create a deployable version of your app . Here’s what happens when you use webdev with dart2js and the –output build option: Deployable files appear under your app’s build/web directory. dart2js compiles your app to JavaScript, saving the result in the file build/web/main.