rollup / awesome

⚡️ Delightful Rollup Plugins, Packages, and Resources
MIT License
2.55k stars 139 forks source link

add rollup-plugin-multi-input #77

Open logustra opened 3 years ago

logustra commented 3 years ago

Awesome Contribution Checklist:

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.

shellscape commented 3 years ago

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

logustra commented 3 years ago

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

alfredosalzillo commented 3 years ago

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.

shellscape commented 3 years ago

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: