Skip to content

Commit

Permalink
build: Use stage-0 and es2015 for transpiling documentation.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed Aug 12, 2017
1 parent 6a8a3f6 commit 25d0cfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .babelrc
@@ -1,8 +1,4 @@
{
"presets": ["flow"],
"plugins": [
["transform-es2015-modules-commonjs", {
"allowTopLevelThis": true
}]
]
"presets": ["es2015", "stage-0", "flow"],
"plugins": ["syntax-async-functions"]
}
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -61,6 +61,7 @@
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.1",
"babel-plugin-syntax-async-functions": "^6.13.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"chdir": "0.0.0",
Expand All @@ -79,6 +80,7 @@
"mock-fs": "^4.2.0",
"p-event": "^1.0.0",
"prettier": "^1.0.0",
"regenerator-runtime": "^0.10.5",
"standard-version": "^4.0.0",
"tmp": "^0.0.33"
},
Expand Down

0 comments on commit 25d0cfa

Please sign in to comment.