@oat-sa/rollup-plugin-wildcard-external

1.0.0 • Public • Published

rollup-plugin-wildcard-external

This plugin extends the behaviour of rollup externals to be able to define wildcard externals.

Plugin uses minimatch under the hood, so any glob pattern is supported.

Installation

npm install --save-dev @oat-sa/rollup-plugin-wildcard-external

Usage

// rollup.config.js
import wildcardExternal from '@oat-sa/rollup-plugin-wildcard-external';

export default {
    // ...
    plugins: [
        wildcardExternal([
            // Exclude all module from lib alias
            'lib/**'
        ])
    ]
};

For developers

Tests

The plugin is tested with mocha. You can run tests with

npm run test

or with coverage

npm run test:cov

Code style check

npm run lint

/@oat-sa/rollup-plugin-wildcard-external/

    Package Sidebar

    Install

    npm i @oat-sa/rollup-plugin-wildcard-external

    Weekly Downloads

    709

    Version

    1.0.0

    License

    GPL-2.0

    Unpacked Size

    30.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • juan.vazquez.tao
    • sabatkeshelashvili
    • yairtao
    • shpran
    • harroyo-oat
    • pribi
    • edwin-oat
    • llecaque
    • gauravoat
    • viktar_dzmitryieu
    • roma-derski
    • tikhanovich
    • karols
    • olechafm
    • olga-kulish-tao
    • gabriel-tao
    • jsconan
    • oatymart
    • tamasbesenyei
    • oat-admin
    • shaveko
    • wazelin
    • marpesia
    • yukipastelcat
    • gloribeloat