File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11var rollup = require ( 'rollup' )
2- var babel = require ( 'rollup-plugin-babel' )
2+ var buble = require ( 'rollup-plugin-buble' )
3+ var async = require ( 'rollup-plugin-async' )
34var isProd = process . argv [ process . argv . length - 1 ] !== '--dev'
45
56rollup
67 . rollup ( {
78 entry : 'packages/docsify-server-renderer/index.js' ,
89 plugins : [
9- babel ( {
10- plugins : [ 'transform-async-to-generator' ] ,
11- presets : [
12- [
13- 'es2015' ,
14- {
15- modules : false
16- }
17- ]
18- ]
10+ async ( ) ,
11+ buble ( {
12+ transforms : {
13+ generator : false
14+ }
1915 } )
2016 ] ,
2117 onwarn : function ( ) { }
Original file line number Diff line number Diff line change 3535 "zoom-image" : " ^0.1.4"
3636 },
3737 "devDependencies" : {
38- "babel-plugin-transform-async-to-generator" : " ^6.24.1" ,
39- "babel-preset-es2015" : " ^6.24.1" ,
4038 "cssnano" : " ^3.10.0" ,
4139 "eslint" : " ^3.18.0" ,
4240 "eslint-config-vue" : " ^2.0.2" ,
4543 "postcss" : " ^5.2.16" ,
4644 "postcss-salad" : " ^1.0.8" ,
4745 "rollup" : " ^0.41.6" ,
48- "rollup-plugin-babel " : " ^2.7.1 " ,
46+ "rollup-plugin-async " : " ^1.2.0 " ,
4947 "rollup-plugin-buble" : " ^0.15.0" ,
5048 "rollup-plugin-commonjs" : " ^8.0.2" ,
5149 "rollup-plugin-node-resolve" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments