mygento/module-js-bundler 2.3.0

Magento 2 Advanced JS Bundler

Type

magento2-module

License

OSL-3.0

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Magento 2 Advanced JS Bundler

Build Status Latest Stable Version Total Downloads

Installation with composer

  • Include the repository: composer require mygento/module-js-bundler

Usage

Place a file js_bundler.xml in theme's etc folder

<?xml version="1.0" encoding="utf-8"?>
<bundles>
  <bundle name="catalog">
      <item>Magento_Catalog/js/product/list/toolbar</item>
      <item>Magento_Catalog/js/price-box</item>
      <item>Magento_Catalog/js/catalog-add-to-cart</item>
  </bundle>
  ....
  <bundle name="checkout">
      <item>....</item>
      <item>....</item>
      <item>....</item>
  </bundle>
</bundles>

Compability

The module is tested on magento version 2.3.x