Commit Graph

6 Commits

Author SHA1 Message Date
Crypto Sheik feca3fd78b fix(build): enable loose (lighter) Babel syntax compilation
for some safe syntax transforms, assuming public class fields do not
shadow an existing getter in current class / subclass or superclass.
Can also be achieved with the setPublicClassFields compiler assumption.

See:
- https://babeljs.io/docs/en/assumptions#setpublicclassfields
- https://babeljs.io/docs/en/babel-plugin-proposal-class-properties#loose
2021-10-26 18:06:38 -07:00
Crypto Sheik ebbb237844 fix(build): enable babel-preset-env "bugfixes" compilation
Allows Babel to compile syntax as close as possible to what's supported by the target browsers listed with Browserslist.
See https://babeljs.io/docs/en/babel-preset-env#bugfixes
2021-10-26 18:06:38 -07:00
Justin Starry 3eb9f7b3eb chore: project config changes for typescript migration 2021-03-17 10:26:00 +08:00
Justin Starry c675c67c26 chore: replace jest with mocha 2021-02-08 07:57:05 +08:00
Justin Starry 612958ece0 fix: update to reasonable babel env target 2021-02-08 07:57:05 +08:00
Justin Starry 08ff2d12f2 feat: add support for browser es modules 2021-02-08 07:57:05 +08:00