@@ -35,7 +35,7 @@ const lib = {
3535 umd : {
3636
3737 input : pkg . main ,
38- plugins : [ resolve ( ) ] . concat ( production ? [ babel ( ) ] : [ ] ) ,
38+ plugins : production ? [ babel ( ) ] : [ ] ,
3939 output : {
4040 file : pkg . main ,
4141 format : "umd" ,
@@ -71,7 +71,7 @@ const demo = {
7171
7272 input : "public/demo/index.js" ,
7373 external : external ,
74- plugins : [ resolve ( ) ] . concat ( production ? [ babel ( ) ] : [ ] ) ,
74+ plugins : production ? [ babel ( ) ] : [ ] ,
7575 output : {
7676 file : "public/demo/index.js" ,
7777 format : "iife" ,
@@ -86,7 +86,7 @@ export default [lib.esm, lib.umd, demo.esm, demo.iife].concat(production ? [{
8686
8787 input : lib . esm . output [ 1 ] . file ,
8888 external : external ,
89- plugins : [ resolve ( ) , babel ( ) , minify ( {
89+ plugins : [ babel ( ) , minify ( {
9090 bannerNewLine : true ,
9191 comments : false
9292 } ) ] ,
@@ -102,7 +102,7 @@ export default [lib.esm, lib.umd, demo.esm, demo.iife].concat(production ? [{
102102
103103 input : demo . esm . output [ 1 ] . file ,
104104 external : external ,
105- plugins : [ resolve ( ) , babel ( ) , minify ( { comments : false } ) ] ,
105+ plugins : [ babel ( ) , minify ( { comments : false } ) ] ,
106106 output : {
107107 file : demo . esm . output [ 1 ] . file ,
108108 format : "iife" ,
0 commit comments