Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 404 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 404 Bytes

esm-cjs-playground

Goals:

  • Source written in TypeScript
  • ./src is compiled 1-to-1 in ./dist
  • CJS has .js extension and lives in ./dist
  • ESM has .mjs and lives in ./dist/esm
  • package.json has as few export maps as possible, so you don't have to constantly add to it when adding new files.

Testing

This builds the project and runs a series of tests:

./script/build