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

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

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.

Summary ID
Compile Ink's babel-preset to a CommonJS module.
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.
9a64795786a41002654a1103b53ba58704aa2421
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (952b7b8)
Loading...