That said, I feel like the authors made some choices that make their lives easier at the cost of having shipped a virtually useless tool. For example:
- The standard typescript builder can only generate ES2018
- The web bundler can only generate ES modules
These two together means that your package won't work on anywhere but the most modern browsers and Node versions, except if your package's users somehow configure their Webpack (or whatever) to run your module through Babel (totally beating the purpose of all this). This is exactly the kind of complication I'd want tools like these to solve for me.Sure, there's a place for the "this will only work on cutting edge environments", but i'm not sure a tool intended for publishing reusable libraries is that place.
Additionally, a core feature I miss is the ability to have different entry-points for different environments (eg one for node and one for browsers). My library uses the DOM for some heavy lifting and imports JSDOM on Node for that - I'd not want to ship JSDOM to the browser and bloat the download for no reason.
Hope all this improves, I could see myself using this.