File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ module.exports = {
77 [
88 '@babel/preset-env' ,
99 {
10- modules : false ,
10+ corejs : 3 ,
11+ useBuiltIns : 'entry' ,
1112 } ,
1213 ] ,
1314 ] ,
Original file line number Diff line number Diff line change 4242 "@nextcloud/router" : " ^1.0.2" ,
4343 "@nextcloud/vue" : " ^1.4.1" ,
4444 "camelcase" : " ^5.3.1" ,
45+ "core-js" : " ^3.6.4" ,
4546 "debounce" : " ^1.2.0" ,
4647 "nextcloud-server" : " ^0.15.10" ,
4748 "path-parse" : " ^1.0.6" ,
49+ "regenerator-runtime" : " ^0.13.5" ,
4850 "vue" : " ^2.6.11" ,
4951 "vue-async-computed" : " ^3.8.2" ,
5052 "vue-plyr" : " ^6.0.4" ,
Original file line number Diff line number Diff line change @@ -36,9 +36,10 @@ module.exports = {
3636 exclude : / n o d e _ m o d u l e s / ,
3737 } ,
3838 {
39- test : / \. j s $ / ,
39+ // vue-plyr uses .mjs file
40+ test : / \. m ? j s $ / ,
4041 loader : 'babel-loader' ,
41- exclude : / n o d e _ m o d u l e s / ,
42+ exclude : / n o d e _ m o d u l e s (? ! ( \/ | \\ ) ( c a m e l c a s e | f a s t - x m l - p a r s e r | h o t - p a t c h e r | v u e - p l y r | w e b d a v ) ( \/ | \\ ) ) / ,
4243 } ,
4344 {
4445 test : / \. ( p n g | j p g | g i f | s v g ) $ / ,
You can’t perform that action at this time.
0 commit comments