Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix ~ avoid spread operator b/c of Rollup+TS code generation bug
- associated FixME also added ## [why] For ESM builds, when using the array spread operator, Rollup (using TypeScript) generates a helper file containing the `__spreadArrays()` function. Unfortunately, when using LF line endings (eg, tsconfig contains `"newLine": "lf"`) the file is generated with mixed line endings (both CRLF and LF). This causes `git` to throw errors when trying to commit the generated file. Cosmetically, the file is also generated with a '.js' suffix even when forcing '.mjs'. FixME added
- Loading branch information