1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/server/build
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
..
babel Configurable opts for babel-preset-env + babel-plugin-transform-runtime (#2991) 2017-10-07 08:38:59 +02:00
loaders Support webpack harmony modules in self accept (#2510) 2017-07-10 10:10:32 +05:30
plugins Merge branch 'master' into v3-beta 2017-07-09 09:57:56 +05:30
clean.js allow cleaning from non-cwd (#2451) 2017-07-05 10:49:35 +05:30
index.js [WIP] Use buildId in chunk urls as well (#2873) 2017-08-31 05:47:06 +05:30
replace.js Refactor the build server to remove tie to fs (#1656) 2017-04-07 09:52:12 -07:00
root-module-relative-path.js Fix relative module aliases for Windows (#1249) 2017-02-24 04:49:34 +05:30
webpack.js expose buildId to custom webpack configs (#3001) 2017-09-27 08:03:29 +02:00