turborepo
f25752b5 - feat(turbopack_ecmascript): support partial tsconfig for the transform (#3995)

Commit
2 years ago
feat(turbopack_ecmascript): support partial tsconfig for the transform (#3995) Resolves WEB-667, WEB-659. This PR allows to specify partial tsconfig (specifically, `useDefineForClassFields` / legacy decorators for now) into ecmatransform. There are few tsconfig options affect to the runtime output of typescript need to be specified when performing transform, useDefineForClassFields is one of them. For now, PR attempts to fix `test/development/basic/define-class-fields.test.ts` / `test/development/basic/legacy-decorators.test.ts` by enabling one options. .swcrc is still not being honored in this changes.
Author
Parents
Loading