Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 446 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 446 Bytes

This is a testbed for exposing moment to the world.

The package.sh takes the files from src/ and appends/prepends the necessary lines to make them cjs/esm compatible, and then outputs the results in node_modules/bmoment (so it looks like we npm-installed it -- similar to how our users will have it).

Then run

./package.sh
node --version # 10.5.0
node bmoment_test_cjs.js
node --experimental-modules  bmoment_test_esm.mjs