rsnext/packages/next/build/babel
Joe Haddad 58ea3bb479
fix(next/babel): read env from caller, not process (#20679)
This PR fixes a bug where `next/babel` would accidentally enable development transforms for a production build (`next build`).

This is tested by the two updated unit tests (which removed a workaround for this bug, and one now properly enables dev transforms).

---

Fixes #18929
Fixes #19001
x-ref #19046
x-ref #17032
2021-01-02 00:36:16 +00:00
..
plugins chore: remove old traces of next/data experiment (#20678) 2021-01-01 22:23:42 +00:00
preset.ts fix(next/babel): read env from caller, not process (#20679) 2021-01-02 00:36:16 +00:00