This repository demonstartes how to build libraries/packages properly and utilize the capabilties of the modern tools and browsers.
"Ship less, load faster"
Download or clone the project and run the following command from the root directory
cd js-module-system
yarn
yarn build
This will transpile and build files for cjs
and es
environments.
The dist
folder will have bundled version of the library
The lib
folder will have transpiled version of the library targeting es
module system.
MIT © Kamlesh Chandnani