Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Babelify transform with runtime
"browserify": {
"transform": [
[
"babelify",
{
"optional": [
"runtime"
],
"whitelist": [
"es6.arrowFunctions",
"es6.blockScoping",
"es6.classes",
"es6.constants",
"es6.parameters.default",
"es6.parameters.rest",
"es6.properties.shorthand"
],
"only": [
"**/src/components.js"
]
}
]
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.