Compile Ink's babel-preset to a CommonJS module.

Review Request #13669 — Created March 26, 2024 and submitted — Latest diff uploaded

Information

Ink
master

Reviewers

We were shipping babel-preset as an ESM module, which wasn't safe and
could trigger errors during usage in Babel.

We now compile this as a CommonJS target, ensuring it has the widest
compatibility possible.

Built Ink and then activated the preset in Review Board's Babel
configuration. Verified that the preset's craft and paint template
tags were properly compiled in the generated code.

Commits

Files

    Loading...