Skip to content

Usage for "development production" environment

Emilien Escalle edited this page Jun 12, 2022 · 2 revisions

🔧 In development

Css & Js files are not bundled for easier debugging. Less & Scss files are compiled when updated or if an "@import" file is updated

Usage

Once the module is configured for development mode, all assets take into account by the configuration are automatically bundled for every call to the application

🚀 In production

All asset files (Css, Js, medias) are minified, bundled and cached only if once. Assets path are encrypted to mask file tree (with the exception of files in the "assets" public directory)

Usage

Once the application is deployed and configured for production mode, assets must be rendered once.

See Rendering all assets.

It ensure that all assets are well generated until the next deployment.

Clone this wiki locally