Skip to content

[Regression] beta.40 breaks TypeScript decorator support by removing jscConfig from applySwcTransform #756

@technopahadi

Description

@technopahadi

Description:

  • In 4.0.1-beta.40, the jscConfig parameter was removed from applySwcTransform() in @workflow/builders
  • This breaks projects using TypeScript decorators (TypeORM, NestJS, etc.)
  • The tsconfig.json settings like experimentalDecorators are no longer passed to SWC
  • beta.39 works, beta.40 fails with "Unexpected token @" errors

Files changed:

  • packages/builders/src/apply-swc-transform.ts - removed jscConfig parameter
  • packages/builders/src/swc-esbuild-plugin.ts - removed jscConfig argument from call

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions