定制 ironman-dev/module-baler 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ironman-dev/module-baler

最新稳定版本:1.2

Composer 安装命令:

composer require ironman-dev/module-baler

包简介

Module that preloads theme JS bundles configurations generated by Baler.

README 文档

README

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

Magento_Baler module introduces functionality to preload theme JS bundles configuration (core-bundle.js & requirejs-bundle-config.js) generated by 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

mkdir app/code/Magento
git clone https://github.com/magento/m2-baler.git app/code/Magento/Baler
bin/magento setup:upgrade

Using Composer

Open you composer.json and 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, then run:

composer config repositories.magento-baler vcs git@github.com:magento/m2-baler.git
composer require magento/module-baler:dev-master
bin/magento module:enable Magento_Baler
bin/magento setup:upgrade

Using Composer package at repo.magento.com

This module is available as alpha composer package on repo.magento.com. This package works both with 2.3.x and 2.4.x Magento releases.

Steps to install it:

  1. Add "magento/module-baler": "1.0.0-alpha" to require section of composer.json
    So, require section looks like:
        "require": {
            "magento/product-community-edition": "2.3.4",
            "magento/module-baler": "1.0.0-alpha"
        },
    
  2. Run composer update command.
  3. bin/magento module:enable Magento_Baler
  4. bin/magento setup:upgrade

How to start with Baler

Getting started with the alpha

If you found a bug in this module, please open a new issue or refer to Code Of Conduct.

统计信息

  • 总下载量: 4.3k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 16
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2020-11-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固