Skip to content

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

Merged
weirdwater merged 1 commit into
masterfrom
wtf/2705-transpilation-target
Sep 7, 2026
Merged

[WTF-2705]: Increase Transpilation Target#231
weirdwater merged 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 6c632ba to bde384e Compare September 7, 2026 07:18
@weirdwater
weirdwater merged commit b7e2e98 into master Sep 7, 2026
7 checks passed
@weirdwater
weirdwater deleted the wtf/2705-transpilation-target branch September 7, 2026 14:50
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.

3 participants