2016-12-21 15:06:24 +01:00
|
|
|
{
|
2017-02-09 04:02:58 +01:00
|
|
|
"env": {
|
|
|
|
"development": {
|
|
|
|
"presets": ["next/babel"]
|
|
|
|
},
|
|
|
|
"production": {
|
|
|
|
"presets": ["next/babel"]
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
// next/babel does not transpile import/export syntax.
|
|
|
|
// So, using es2015 in the beginning will fix that.
|
|
|
|
"presets": ["es2015", "next/babel"]
|
|
|
|
}
|
|
|
|
}
|
2016-12-21 15:06:24 +01:00
|
|
|
}
|