Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kamleshchandnani/js-module-system

A small UI library to demonstrate the JS module system
https://github.com/kamleshchandnani/js-module-system

javascript module-system npm-package package-management react rollup

Last synced: 26 days ago
JSON representation

A small UI library to demonstrate the JS module system

Awesome Lists containing this project

README

        

# Anatomy of JS Module System?

This repository demonstartes how to build libraries/packages properly and utilize the capabilties of
the modern tools and browsers.

_"Ship less, load faster"_

## Installation

Download or clone the project and run the following command from the root directory

```
cd js-module-system

yarn
```

## Build

```
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.

## License

MIT © [Kamlesh Chandnani](https://github.com/kamleshchandnani)