In development, assets should be copied or compiled into assets/dist/
.
In production, assets should be copied from assets/dist/
into your project's public root (e.g., ../../../www/assets/admin
).
grunt default
- Compile, copy, and minify Admin and third-party assets (
grunt build
) - Copy freshly-processed assets to the public directory (
grunt deploy
)
- Compile, copy, and minify Admin and third-party assets (
grunt build
- Copy third-party assets from packages in
node_modules/
(NPM) andvendor/
(Composer) - Compile scripts, styles, and SVG images from
assets/src/
- Minify all assets
- Copy third-party assets from packages in
grunt sync
- Watch for changes in
assets/src/
and compile assets - Watch for changes in
assets/dist/
and copy to the public directory
- Watch for changes in
grunt deploy
- Copy previously-processed assets to the public directory