1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-configured-preset-env/.babelrc
Alexander Kachkaev 9319c158a5 Upgrade Babel to 7.0.0-rc.1 (major) (#4937)
Fixes #4691
Fixes #4614

This PR gives path to https://github.com/zeit/next-plugins/pull/242

I did not add or remove `^` near dependency versions in package.json files. However, I don't exclude that some changes can be made given that rc is more stable than beta.
2018-08-13 10:34:08 -07:00

27 lines
487 B
Plaintext

{
"env": {
"production": {
"presets": ["next/babel"]
},
"development": {
"presets": [
[
"next/babel",
{
"preset-env": {
"targets": {
"browsers": "last 1 Chrome version",
"node": true
}
},
"transform-runtime": {
"regenerator": false,
"useBuiltIns": true
}
}
]
]
}
}
}