9 Commits

Author SHA1 Message Date
7dd9497514 Use ttsc instead of tsc 2019-07-31 07:19:22 +08:00
8c23b59ecd Add build comments target 2019-04-15 22:02:09 +12:00
7711a9596c Remove markdown from client-side
Markdown parser takes too much space in the final compressed bundle
2019-04-11 12:20:39 +08: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
0a1bd4dc87 Add build clean target 2019-04-08 19:28:36 +08:00
20324bdff2 Add watch_ts to Buildfile 2019-03-16 10:13:08 +05:00
949b008208 Update jest to 24 and set maxConcurrency 2019-03-14 12:08:37 +05:00
6ea422f340 Fix running jest from root directory 2019-03-13 22:19:51 +05:00
61edf10a5b Extract @rondo/comments-common 2019-03-13 13:26:09 +05:00