rsnext/server/build/babel
Tom MacWright 559c25253e Configurable opts for babel-preset-env + babel-plugin-transform-runtime (#2991)
* Configurable opts for babel-preset-env + babel-plugin-transform-runtime

This adds `preset-env` and `transform-runtime` options to the
`next/babel` Babel preset, which are then passed through to those
presets and transforms. This allows configuration to keep next.js
from the default 'maximum' transform, and instead use built-in
implementations of globals, classes, async, and other commonly-supported
features.

Fixes #2989

* Use spread notation instead of Object.assign
2017-10-07 08:38:59 +02:00
..
plugins Use _ as the divider for dynamic import name splitter. (#2793) 2017-08-17 02:25:27 +05:30
find-config.js Babelrc false babelrc (#1094) 2017-02-13 06:18:22 +09:00
preset.js Configurable opts for babel-preset-env + babel-plugin-transform-runtime (#2991) 2017-10-07 08:38:59 +02:00