nodejs/modules

Feature: Browser-compatible build that includes CommonJS

GeoffreyBooth opened this issue · 0 comments

I can create a “universal” package that has both ESM and CommonJS dependencies, that can be imported both in Node and the browser. (I’m assuming a build step is required for this.)

Use case 22.