awesome icon indicating copy to clipboard operation
awesome copied to clipboard

add rollup-plugin-multi-input

Open logustra opened this issue 4 years ago • 4 comments
trafficstars

Awesome Contribution Checklist:

  • [x] I have read, and re-read the Contributing Guidelines
  • [x] I have searched to ensure the suggested item doesn't exist on this list
  • [x] This PR contains only one item

Please Provide a Link A Repository for Your Addition

https://github.com/alfredosalzillo/rollup-plugin-multi-input

Please Describe Your Addition

A rollup plugin to bundle modular libraries with sub directories.

logustra avatar Nov 20 '20 10:11 logustra

Can you explain how this plugin differs from the official https://github.com/rollup/plugins/tree/master/packages/multi-entry plugin?

shellscape avatar Nov 28 '20 02:11 shellscape

@shellscape multi-entry cannot generate output dynamically let's say I've 5 input but I always got 1 output

logustra avatar Nov 28 '20 03:11 logustra

https://github.com/alfredosalzillo/rollup-plugin-multi-input can be used to bundle modular libraries.

The https://github.com/rollup/plugins/tree/master/packages/multi-entry can't because it only allow using multiple entries but doesn't assure the output directories tree is preserved.

alfredosalzillo avatar Dec 23 '20 14:12 alfredosalzillo

Thanks for that info. This is going to be inherently confusing to users based on the name, due to the existing official plugin. Some questions:

  • Is there a more apt name for this module that provides distinction from the official plugin of similar name?
  • Is there an opportunity contribute to the multi-entry plugin to enable the options and behaviors that rollup-plugin-mutli-input provides?

shellscape avatar Dec 23 '20 17:12 shellscape