Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix(build): Don't mix ES Module and CommonJS syntax #663
Awesome! Thank you!
For context, it was done this way during a time when ESM tree shaking was not yet as widely used and we wanted to exclude it from production builds. I think today tooling is in a good enough shape that if you care about bundle size enough to want the util helper excluded, using ESM tree shaking is the answer.