fix: update babel config
This commit is contained in:
parent
5a0c37fcd3
commit
80dba191d3
2 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ rollup
|
|||
entry: 'packages/docsify-server-renderer/index.js',
|
||||
plugins: [
|
||||
babel({
|
||||
plugins: ['transform-async-to-generator'],
|
||||
presets: [
|
||||
[
|
||||
'es2015',
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue