Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 673 Bytes

assets.md

File metadata and controls

29 lines (19 loc) · 673 Bytes

Assets

We use symfony Webpack Encore to manage our assets. See the symfony documentation for more information about encore.

Local development

First install all necessary dependencies by executing the following command in the root dir.

yarn

To develop asset changes locally you can run

./node_modules/.bin/encore dev

Or this command to watch the asset files for changes

./node_modules/.bin/encore dev --watch

When you are done with changes in the assets files, simply run in production mode and commit these generated files.

./node_modules/.bin/encore production