php bin/console asset-map:compile

Compiles all mapped assets and writes them to the final public output directory.

Usage

asset-map:compile [--clean]

Options

      --clean   Whether to clean the public directory before compiling assets 

Help

The asset-map:compile command compiles and dumps all the assets in
the asset mapper into the final public directory (usually public/assets).

This command is meant to be run during deployment.