This repo demonstrates usage of the following:
-
It uses @common-web/ts-config for default TS configuration.
It simply builds typescript
src
into single or multiple dist:- CJS (CommonJS)
- ESM (ES Module)
-
Automatically code style format base on rules
Note: Can be configured further, please visit Rollup configuration.
// Builds the source files
yarn run build
// Runs prettier
yarn run prettier