rsnext/packages
Guy Bedford a1ea352911
Remove @babel/preset-modules (#18759)
This is a prerequisite to being able to ncc inline the Babel dependencies in next.js.

The removal of preset-modules is based on replacing it with preset-env under `targets: { esmodules: true }`, as per the guidance from the package (https://www.npmjs.com/package/@babel/preset-modules):

> Starting from @babel/preset-env 7.9.0, you can enable the bugfixes: true option to get the same behavior as using @babel/preset-modules, but with support for custom targets. If you need to target browsers with native modules support (like this preset does), you can use targets: { esmodules: true }.

From the above, I'm pretty sure this is entirely a backwards compatible change, apart from the change to the runtime plugin list being visible. Perhaps @developit can confirm this as well.
2020-11-04 06:53:39 +00:00
..
create-next-app v10.0.1 2020-11-03 15:42:54 -05:00
eslint-plugin-next v10.0.1 2020-11-03 15:42:54 -05:00
next Remove @babel/preset-modules (#18759) 2020-11-04 06:53:39 +00:00
next-bundle-analyzer v10.0.1 2020-11-03 15:42:54 -05:00
next-codemod v10.0.1 2020-11-03 15:42:54 -05:00
next-env v10.0.1 2020-11-03 15:42:54 -05:00
next-mdx v10.0.1 2020-11-03 15:42:54 -05:00
next-plugin-google-analytics v10.0.1 2020-11-03 15:42:54 -05:00
next-plugin-sentry v10.0.1 2020-11-03 15:42:54 -05:00
next-plugin-storybook v10.0.1 2020-11-03 15:42:54 -05:00
next-polyfill-module v10.0.1 2020-11-03 15:42:54 -05:00
next-polyfill-nomodule v10.0.1 2020-11-03 15:42:54 -05:00
react-dev-overlay v10.0.1 2020-11-03 15:42:54 -05:00
react-refresh-utils v10.0.1 2020-11-03 15:42:54 -05:00