David Mehren
|
6ee2ddead5
|
Use node12 TypeScript base config
TypeScript recommends using a base config from https://github.com/tsconfig/bases.
Using this config reduces compile times by ~30%
and the size of the dist folder by ~45%.
It also enables the recommended `esModuleInterop` option,
which necessitated some changes to imports.
See also https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#support-for-import-d-from-cjs-from-commonjs-modules-with---esmoduleinterop
Signed-off-by: David Mehren <git@herrmehren.de>
|
2021-04-29 22:47:18 +02:00 |
|