diff --git a/console/asset-compilation.md b/console/asset-compilation.md index 7cf96edd..21f9ebbb 100644 --- a/console/asset-compilation.md +++ b/console/asset-compilation.md @@ -268,13 +268,15 @@ Please see the `mix:install` documentation for the available arguments and optio ### List registered Mix packages ```bash -php artisan mix:list +php artisan mix:list [--json] ``` The `mix:list` command will list all registered Mix packages found in the Winter installation. This is useful for determining if your plugin or theme is correctly registered. The command will list all packages, as well as the directory for the asset and the configuration file that has been defined during registration. +A json formatted list of packages can be printed by specifying the `--json` flag. + ### Compile a Mix packages ```bash @@ -285,6 +287,8 @@ The `mix:compile` command compiles all registered Mix packages, running each pac By specifying the `-p` flag, you can compile one or more selected packages. To define multiple packages, simply add more `-p` flags to the end of the command. +The `--no-progress` flag can be added in order to suppress the mix progress output. Useful if you want to only view the webpack output. + By default, all packages are built in "development" mode. If you wish to compile in "production" mode, which may include more optimisations for production sites, add the `-f` or `--production` flag to the command. The command will generate a report of all compiled files and their final size once complete.