Skip to content

Commit

Permalink
fix: update babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
QingWei-Li committed May 30, 2017
1 parent 5a0c37f commit 80dba19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/build-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ rollup
entry: 'packages/docsify-server-renderer/index.js',
plugins: [
babel({
plugins: ['transform-async-to-generator'],
presets: [
[
'es2015',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"zoom-image": "^0.1.4"
},
"devDependencies": {
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"cssnano": "^3.10.0",
"eslint": "^3.18.0",
Expand Down

0 comments on commit 80dba19

Please sign in to comment.