061618745c
`tsdx` uses `.browserslistrc` to determine how to transpile the source code. By default it supports very old environments. By specifying relatively modern targets, the bundle size has been reduced with ~40%. This also significantly increases performance and readability of the output, because babel’s regenerator runtime isn’t used anymore. The output target can’t be set to something too new, because `tsdx` uses an older version of terser which isn’t compatible with all new syntax (e.g. optional chaining). |
||
---|---|---|
.. | ||
src | ||
.browserslistrc | ||
.gitignore | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
tsconfig.json |