Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.11 KB

README.md

File metadata and controls

48 lines (31 loc) · 1.11 KB

baler

CircleCI

baler is an AMD module bundler and preloader for Magento 2 stores.

Getting Started (Early Alpha)

If you're willing to test alpha software, please proceed

Docs

Usage

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

Debugging

node.js debugger

  1. Run node --inspect-brk $(which baler)
  2. In Chrome, visit chrome://inspect
  3. Click Inspect on the pending connection

Tracing

Run the CLI with the --trace flag. An event log will be written to baler-trace-{timestamp}.txt