Hey everyone,
Wondering if anyone has encountered this issue before. We have a react project that used to build successfully before (we have a schedule daily run), then suddenly it just started failing even though no new code change was introduced.
<span>TypeScript 'declare' fields must first be transformed by @babel/plugin-transform-typescript.</span>
<span>If you have already enabled that plugin (or '@babel/preset-typescript'), make sure that it runs before any plugin related to additional class features:</span>
<span>- @babel/plugin-proposal-class-properties</span>
<span>- @babel/plugin-proposal-private-methods</span>
<span>- @babel/plugin-proposal-decorators</span>
I already tried to Google for a solution but nothing seemed to work. I can't replicate the issue locally because it builds just fine.