A profile build is not minified and tree shaking
has been performed.

A release build is both minified and tree shaking
has been performed.

Building the app for release

Build the app for deployment using the
flutter build web command.
You can also choose which renderer to use
by using the --web-renderer option (See Web renderers).
This generates the app, including the assets,
and places the files into the /build/web
directory of the project.

The release build of a simple app has the
following structure:

Note:
  The canvaskit directory and its contents are only present when the
  CanvasKit renderer is selected—not when the HTML renderer is selected.