Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I would recommend starting by using https://github.com/developit/microbundle , as it has pretty good default behavior for generating library output.
Huh. Looking at the build script for react-bootstrap on the bs4-dev branch, they are using Webpack... but it looks like it's just to build the UMD bundles like https://unpkg.com/browse/react-bootstrap@2.0.3/dist/react-bootstrap.js . The CJS/ESM output is generated by just running Babel directly on the source files and outputting them individually.
You could have a look what I'm shipping for my library https://github.com/szhsin/react-menu/tree/master/dist