Hi Atlassian team ![]()
I wanted to ask whether there are any plans to provide ESM module builds for @atlaskit/icons?
At the moment, the package appears to export CommonJS only, which can cause issues with modern ESM-first bundlers. Recent changes in bundler behavior (for example Rolldown / Vite) highlight ambiguities around default imports from CJS modules, and some existing import patterns can break as a result. More on this here: Bundling CJS | Rolldown
There is a deprecated compatibility option (legacy.inconsistentCjsInterop: true) that can temporarily restore previous behavior, but itโs intended as a short-term workaround rather than a long-term solution.
Because of this, consumers may currently need to rely on legacy interop flags or custom bundler configuration when using @atlaskit/icons.
So my question is:
Are there any plans to ship
@atlaskit/iconswith an ESM build (or dual CJS + ESM exports) to avoid these interop issues going forward?
Thanks!