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 async = require ( 'rollup-plugin-async ' )
2+ var babel = require ( 'rollup-plugin-babel ' )
33var isProd = process . argv [ process . argv . length - 1 ] !== '--dev'
44
55rollup
66 . rollup ( {
77 entry : 'packages/docsify-server-renderer/index.js' ,
88 plugins : [
9- async ( )
9+ babel ( {
10+ presets : [
11+ [
12+ 'es2015' ,
13+ {
14+ modules : false
15+ }
16+ ]
17+ ]
18+ } )
1019 ] ,
1120 onwarn : function ( ) { }
1221 } )
Original file line number Diff line number Diff line change 3535 "zoom-image" : " ^0.1.4"
3636 },
3737 "devDependencies" : {
38+ "babel-preset-es2015" : " ^6.24.1" ,
3839 "cssnano" : " ^3.10.0" ,
3940 "eslint" : " ^3.18.0" ,
4041 "eslint-config-vue" : " ^2.0.2" ,
4344 "postcss" : " ^5.2.16" ,
4445 "postcss-salad" : " ^1.0.8" ,
4546 "rollup" : " ^0.41.6" ,
46- "rollup-plugin-async " : " ^1.2.0 " ,
47+ "rollup-plugin-babel " : " ^2.7.1 " ,
4748 "rollup-plugin-buble" : " ^0.15.0" ,
4849 "rollup-plugin-commonjs" : " ^8.0.2" ,
4950 "rollup-plugin-node-resolve" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments