Skip to content

Instantly share code, notes, and snippets.

@boynoiz
Created April 29, 2018 08:17
Show Gist options
  • Save boynoiz/c01e13891f2d52b42943b162585fc0e9 to your computer and use it in GitHub Desktop.
Save boynoiz/c01e13891f2d52b42943b162585fc0e9 to your computer and use it in GitHub Desktop.
{
"env": {
"development" : {
"presets": [
["env", {
"targets": {
"browsers": ["last 2 versions", "> 5% in BE"],
"uglify": false
},
"modules": false
}]
],
"plugins": [
"syntax-dynamic-import",
"transform-object-rest-spread",
"transform-async-to-generator",
["transform-runtime",
{
"helpers": true,
"polyfill": true,
"regenerator": true
}
]
]
},
"production" : {
"presets": [
["env", {
"targets": {
"browsers": ["last 2 versions", "> 5% in BE"],
"uglify": true
},
"modules": false
}]
],
"plugins": [
"syntax-dynamic-import",
"transform-object-rest-spread",
"transform-async-to-generator",
["transform-runtime",
{
"helpers": true,
"polyfill": true,
"regenerator": true
}
]
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment