boolean
true
Controls whether to emit static assets such as images, fonts, audio, video, etc.
In scenarios such as SSR, you may not need to emit duplicate static assets. Therefore, you can set emitAssets
to false
to avoid emitting assets.
The following example will emit static assets when building web bundles, and avoid emitting when building node bundles.