rollup-plugin-input-array
v1.0.1
Published
A small rollup plugin for handling multiple inputs.
Downloads
27
Readme
rollup-plugin-input-array
A small Rollup plugin for handling multiple inputs.
Installation
npm install --save-dev rollup-plugin-input-array
Usage
// rollup.config.js
import inputArray from "rollup-plugin-input-array";
export default {
input: ["src/foo.js", "src/bar.js"],
plugins: [
inputArray(),
]
};
The plugin simply loads multiple input files. To achieve this, an array has to be provided for Rollup's input
option.