JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 35418
  • Score
    100M100P100Q157784F
  • License MIT

rollup plugin for multiple input using glob

Package Exports

  • rollup-plugin-multi-input

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rollup-plugin-multi-input) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rollup-plugin-multi-input

Let you use glob in input. Preserve the dir structure in the output dir.

Install

Install via npm or yarn.

npm i -D rollup-plugin-multi-input
yarn add rollup-plugin-multi-input

Setup

In your rollup config

import multiInput from 'rollup-plugin-multi-input';

export default {
    input: ['src/**/*.js'],
    experimentalCodeSplitting: true,
    format: 'esm',
    dest: 'public/app.min.js',
    plugins: [ multiInput() ],
};

Options

glob {}

fast-glob object configuration.