Files
ocis/changelog/unreleased/fix-idp-babel-freebsd.md
Paul Faure 0be2bd11aa docs: update changelog with PR number
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 23:21:51 -04:00

487 B

Bugfix: Fix IDP build on FreeBSD by disabling absolute Babel runtime

The babel-preset-react-app preset defaults to absoluteRuntime: true, which hardcodes absolute paths to @babel/runtime helpers. These paths fail to resolve on non-Linux platforms like FreeBSD. Setting absoluteRuntime: false makes Babel resolve the runtime relative to the source file, which works across all platforms.

https://github.com/owncloud/ocis/pull/12114 https://github.com/owncloud/ocis/issues/12065