mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
9319c158a5
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.
27 lines
487 B
Plaintext
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
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|