4 Commits

Author SHA1 Message Date
f500d7f66c Split jsonrpc into smaller packages 2019-08-01 09:17:38 +07:00
9d282b278d Build ESM client-side modules to enable tree shaking
TypeScript compiler needs to be configured to output ES6 module by
setting --module es6 or the equivalent tsconfig.json compilerOptions
parameter.

Since tsc --build does not accept compiler options flags, we need to
duplicate some of the configuration:

- specify separate output folder for ES6 module files (new
  tsconfig.esm.json file)
- add "module" field for ES6 module (esm) output files to package.json

Hence, a script `scripts/sync-esm-config.js` was added to automate this
process.
2019-04-11 11:40:07 +08:00
26b0aa37f9 Add packages/*/lib to .gitignore 2019-01-18 23:01:37 +01:00
de174b8894 Create package common 2019-01-18 20:24:19 +01:00