Browse Source

babel target browsers..

Andrew Swistak 6 năm trước cách đây
mục cha
commit
0add3c2d16
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      babel.config.js

+ 1 - 1
babel.config.js

@@ -21,7 +21,7 @@ module.exports = function(api) {
         require('@babel/preset-env').default,
         {
           targets: {
-            node: 'current',
+            browsers: '> 1%',
           },
         },
       ],