Skip to content

[WTF-2705]: Increase Transpilation Target - #231

Open
weirdwater wants to merge 1 commit into
masterfrom
wtf/2705-transpilation-target
Open

[WTF-2705]: Increase Transpilation Target#231
weirdwater wants to merge 1 commit into
masterfrom
wtf/2705-transpilation-target

Conversation

@weirdwater

Copy link
Copy Markdown
Collaborator

Checklist

  • Contains unit tests ❌
  • Contains breaking changes ❌
  • Compatible with: MX 10, 11
  • Did you update version and changelog? ✅
  • PR title properly formatted ([XX-000]: description)? ✅

This PR contains

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

What is the purpose of this PR?

Increase the transpilation target of babel. There was a polyfill for object destructuring that caused collisions when multiple widgets using the language feature were loaded by the Mendix client.

Relevant changes

Removed specific targets for the Widget build configurations. This makes preset-env fall back on its defaults, which are more conservative than the compatibility we advertise in the Mendix documentation.

The build configuration for editorConfig was left at "safari 11", as it is evaluated by a runtime that only supports es5.

What should be covered while testing?

@weirdwater
weirdwater force-pushed the wtf/2705-transpilation-target branch from 935dd72 to 6c632ba Compare September 3, 2026 10:52
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.

2 participants