News for hackers. Stuff that matters.
Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge... by onion2k on Thursday August 06, 2020 @03:05AM (#24068761)
Rollup makes building both CJS and ES versions of a library fairly straightforward. https://rollupjs.org/guide/en/#outputformat
Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge... by desmap on Thursday August 06, 2020 @05:09AM (#24069312)
Just tinkering with Rollup: How can I let Rollup work with a pnpm monorepo, so that it's resolving local packages declared via pnpm's pnpm-workspace.yaml?