The issue tracker uses NPM and Laravel Mix for managing and compiling its frontend assets.
The compiled production assets are checked into the repo and used by default. If making changes to any assets, you will need to set up the development environment.
Note: Commands here may need to be prefixed with sudo
depending on your local configuration
To set up the development environment, you will need to have Node.js and NPM installed. With those installed, run the npm install
command to install all dependencies.
If making changes to the assets (updating dependencies or editing the tracker's assets), you will need to recompile the production assets.
While working locally, you can run the npm run watch
command which will watch for changes and recompile as needed. Note that this will create unminified assets to make debugging issues easier.
When ready to commit your changes, you must run the npm run prod
command which will compile and minify the assets.