Build System
We use laravel mix for building JS and sccs.
Building for Production#
We can perform a one-time build targeted for production that includes minified SCSS and JS, along with CacheBusting.
Building for Development#
One Time Development Build#
We can perform a one-time build that includes SCSS and JS (with sourcemaps), and CacheBusting.
Automatically Watching For Changes and Rebuilding#
The watch command#
The watch command will start a local http proxy server to your configured site url. You will find the proxy available at http://localhost:3000, and by accessing the site via the proxy during development you will benefit from live reloading (on js, scss, or twig changes) along with JS and SCSS processing.