David Mehren
|
5e61de9bd5
|
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:55:01 +02:00 |
|