Coder Social home page Coder Social logo

m2-baler's Introduction

Overview

It's non-official module yet. Just for alpha testing!

Magento_Baler module introduces functionality to preload JS bundles configuration generated by https://github.com/DrewML/baler/ - tool for static analysis of Javascript dependencies.
This functionality is disabled by default and it can be enabled on the configuration page (Stores -> Configuration -> Advanced -> Developer -> Javascript Settings).
Developer settings is not displayed in production mode.
To enable this feature in production mode, the CLI command bin/magento config:set dev/js/enable_baler_js_bundling 1 can be used.

What is not implemented in this module yet:

  1. The following features should be disabled when Magento_Baler is enabled:
    • JS Bundling
    • JS Minification

How to install module

Using Git

  1. Clone repository: git clone https://github.com/adifucan/m2-baler.git
  2. Rename cloned m2-baler directory into Baler and place this directory into app/code/Magento directory
  3. Run bin/magento setup:upgrade

Using Composer

  1. Add "magento/module-baler": "dev-master" to require section of composer.json
    So, your require section looks like:
    "require": {
        "magento/product-community-edition": "2.3.3",
        "magento/module-baler": "dev-master"
    },
  1. Change "minimum-stability": "stable" to "minimum-stability": "dev" and add "prefer-stable": true
    This means that composer will always use stable package unless there is one. If there is no stable package it will use dev version.
  2. Add
{
    "type": "git",
    "url": "https://github.com/adifucan/m2-baler.git"
}

to requires section. So it looks like:

    "repositories": [
        {
            "type": "composer",
            "url": "https://repo.magento.com/"
        },
        {
            "type": "git",
            "url": "https://github.com/adifucan/m2-baler.git"
        }
    ],
  1. Run composer update
  2. magento/module-baler should be created in vendor folder.

m2-baler's People

Contributors

adifucan avatar vinai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.