baler
is an AMD module bundler and preloader for Magento 2 stores.
If you're willing to test alpha software, please proceed
Usage
$ baler <command> [options]
Commands
build --theme Vendor/name
graph --theme Vendor/name
Examples
Optimize all eligible themes
$ baler build
Optimize multiple themes
$ baler build --theme Magento/foo --theme Magento/bar
Generate Dependency Graph
$ baler graph --theme Magento/luma
- Run
node --inspect-brk $(which baler)
- In Chrome, visit
chrome://inspect
- Click
Inspect
on the pending connection
Run the CLI with the --trace
flag. An event log will be written to baler-trace-{timestamp}.txt