File tree 4 files changed +706
-7
lines changed
4 files changed +706
-7
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "plugins" : [
3
+ " babel-plugin-transform-custom-element-classes"
4
+ ],
5
+ "presets" : [
6
+ [
7
+ " @babel/preset-env" ,
8
+ {
9
+ "modules" : false ,
10
+ "targets" : {
11
+ "ie" : " 11"
12
+ }
13
+ }
14
+ ]
15
+ ]
16
+ }
Original file line number Diff line number Diff line change 28
28
},
29
29
"homepage" : " https://github.com/vuejs/web-component-wrapper#readme" ,
30
30
"devDependencies" : {
31
+ "@babel/core" : " ^7.0.0" ,
32
+ "@babel/preset-env" : " ^7.0.0" ,
33
+ "babel-plugin-transform-custom-element-classes" : " ^0.1.0" ,
31
34
"eslint" : " ^4.16.0" ,
32
35
"eslint-plugin-vue-libs" : " ^2.1.0" ,
33
36
"http-server" : " ^0.11.1" ,
34
37
"jest" : " ^22.1.4" ,
35
38
"lint-staged" : " ^6.1.0" ,
36
39
"puppeteer" : " ^1.0.0" ,
37
- "rollup" : " ^0.55.3" ,
40
+ "rollup" : " ^0.65.2" ,
41
+ "rollup-plugin-babel" : " ^4.0.3" ,
38
42
"vue" : " ^2.5.13" ,
39
43
"yorkie" : " ^1.0.3"
40
44
},
Original file line number Diff line number Diff line change
1
+ import babel from 'rollup-plugin-babel'
2
+
1
3
export default {
2
4
input : 'src/index.js' ,
3
5
output : [
@@ -9,6 +11,14 @@ export default {
9
11
format : 'iife' ,
10
12
name : 'wrapVueWebComponent' ,
11
13
file : 'dist/vue-wc-wrapper.global.js'
14
+ } ,
15
+ {
16
+ format : 'iife' ,
17
+ name : 'wrapVueWebComponent' ,
18
+ file : 'dist/vue-wc-wrapper.ie11.js' ,
19
+ plugins : [
20
+ babel ( )
21
+ ]
12
22
}
13
23
]
14
24
}
You can’t perform that action at this time.
0 commit comments