Commit 9825db4 1 parent 1a55938 commit 9825db4 Copy full SHA for 9825db4
File tree 2 files changed +8
-14
lines changed
2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 1
1
var rollup = require ( 'rollup' )
2
- var babel = require ( 'rollup-plugin-babel' )
2
+ var buble = require ( 'rollup-plugin-buble' )
3
+ var async = require ( 'rollup-plugin-async' )
3
4
var isProd = process . argv [ process . argv . length - 1 ] !== '--dev'
4
5
5
6
rollup
6
7
. rollup ( {
7
8
entry : 'packages/docsify-server-renderer/index.js' ,
8
9
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
+ }
19
15
} )
20
16
] ,
21
17
onwarn : function ( ) { }
Original file line number Diff line number Diff line change 35
35
"zoom-image" : " ^0.1.4"
36
36
},
37
37
"devDependencies" : {
38
- "babel-plugin-transform-async-to-generator" : " ^6.24.1" ,
39
- "babel-preset-es2015" : " ^6.24.1" ,
40
38
"cssnano" : " ^3.10.0" ,
41
39
"eslint" : " ^3.18.0" ,
42
40
"eslint-config-vue" : " ^2.0.2" ,
45
43
"postcss" : " ^5.2.16" ,
46
44
"postcss-salad" : " ^1.0.8" ,
47
45
"rollup" : " ^0.41.6" ,
48
- "rollup-plugin-babel " : " ^2.7.1 " ,
46
+ "rollup-plugin-async " : " ^1.2.0 " ,
49
47
"rollup-plugin-buble" : " ^0.15.0" ,
50
48
"rollup-plugin-commonjs" : " ^8.0.2" ,
51
49
"rollup-plugin-node-resolve" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments