move arrow functions transformer to before function names

This commit is contained in:
Sebastian McKenzie
2015-03-19 01:46:53 +11:00
parent ee63fb52b7
commit c3bdecbd25
13 changed files with 24 additions and 24 deletions

View File

@@ -8,14 +8,14 @@ export default {
"validation.undeclaredVariableCheck": require("./validation/undeclared-variable-check"),
"validation.react": require("./validation/react"),
// needs to be before `_aliasFunction`
"es6.arrowFunctions": require("./es6/arrow-functions"),
// this goes at the start so we only transform the original user code
"spec.functionName": require("./spec/function-name"),
"spec.blockScopedFunctions": require("./spec/block-scoped-functions"),
// needs to be before `_aliasFunction`
"es6.arrowFunctions": require("./es6/arrow-functions"),
reactCompat: require("./other/react-compat"),
react: require("./other/react"),