1.0.0 • Published 4 years ago

rollup-plugin-match v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

rollup-plugin-match

A rollup plugin for matching files.

Installation

npm install rollup-plugin-match --save-dev

Usage

rollup.config.js

generate chunks

const match = require('rollup-plugin-match');
const empty = require('rollup-plugin-empty');

module.exports = {
  input: 'src/*.js',
  plugins: [
    empty({
      silent: false,
      dir: 'dist/es'
    }),
    match(),
  ],
  output: {
    dir: 'dist/es',
    format: 'es'
  }
};

Options

See the fast-glob options