Created
April 15, 2015 20:11
-
-
Save spencercarnage/b16100b536f6df0262ac to your computer and use it in GitHub Desktop.
Babelify transform with runtime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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