walter_wiggles@lemmy.nztoJavaScript@programming.dev•How do I structure a library for NPM (With modules)
2·
7 months agoI would recommend checking out Rollup (https://rollupjs.org/introduction/).
Rollup is one option that will fit a lot of situations, but there are other ways to bundle a library/module that focus more on how you want to use it. Is it used by other libs, by a UI application, etc.
Which starship is this on?