Skip to content

moltar/esm-cjs-playground

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.3%
  • JavaScript 11.6%
  • Shell 11.1%