This document lists a couple of optimizations that can be performed to reduce the disk size of the static assets and improve loading times.
--apps CLI argument once or multiple times, or configure
LiteBuildConfig/apps to only copy select applications to the output folder: by
default, all of the default applications
will be copied to the output folder.
Removing Source Maps#
--no-sourcemaps, or configure
LiteBuildConfig/no_sourcemaps in a config file
to prevent any
.map files from being copied to the output folder. This creates a
drastically smaller overall build.
Removing sourcemaps, in addition to making errors harder to debug, will also
404 errors when a user does open the browser console, which
can be even more confusing.