@micro-app/plugin-merge-public-cli

    0.0.2 • Public • Published

    Micro APP Plugin - Merge-Public CLI

    [Plugin] merge public files cli plugin.

    基于webpack多入口的多仓库业务模块开发的插件应用框架核心库.

    Coverage Status CircleCI NPM Version NPM Download

    Install

    yarn add @micro-app/plugin-merge-public-cli

    or

    npm install -S @micro-app/plugin-merge-public-cli

    Usage

    在项目 根目录micro-app.config.js 文件中配置

    module.exports = {
        // ...
     
        plugins: [ // 自定义插件
            ['@micro-app/plugin-merge-public-cli', {
                dest: PUBLIC, // 目的地
                origin: {
                    [key]: value,
                }, // 原地址map
                handler(key, mc, config, api) {
                    // do something
                },
            }],
        ],
    };

    Install

    npm i @micro-app/plugin-merge-public-cli

    DownloadsWeekly Downloads

    4

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    7.42 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar