Skip to content

[WTF-2548]: Configure Babel for New JSX Transform#170

Merged
LEGIO-SEXTA-FERRATA merged 5 commits intomasterfrom
wtf/wtf-2548-js-widgets-11-6
Mar 16, 2026
Merged

[WTF-2548]: Configure Babel for New JSX Transform#170
LEGIO-SEXTA-FERRATA merged 5 commits intomasterfrom
wtf/wtf-2548-js-widgets-11-6

Conversation

@weirdwater
Copy link
Collaborator

This PR contains

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Other (describe)

What is the purpose of this PR?

The release of 11.6.0 introduced the new JSX transform for Typescript widgets, but failed to update the babel config for Javascript widgets. Resulting in Javascript widgets built with versions 11.6.0 and 11.8.0 to error out in runtime.

Relevant changes

Updates the babel config and other references to createElement to use the react/jsx-runtime instead.

What should be covered while testing?

  • Javascript widgets function in runtime

Copy link
Contributor

@LEGIO-SEXTA-FERRATA LEGIO-SEXTA-FERRATA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and approved to be released. (Tested by Marco.)

@LEGIO-SEXTA-FERRATA LEGIO-SEXTA-FERRATA merged commit d1973e5 into master Mar 16, 2026
7 checks passed
@LEGIO-SEXTA-FERRATA LEGIO-SEXTA-FERRATA deleted the wtf/wtf-2548-js-widgets-11-6 branch March 16, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants