Browse Source

Rollup: Increased Babel target to >1% (#21413)

Mr.doob 4 năm trước cách đây
mục cha
commit
a98a8b2718
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      utils/build/rollup.config.js

+ 1 - 3
utils/build/rollup.config.js

@@ -296,9 +296,7 @@ const babelrc = {
 			'@babel/preset-env',
 			{
 				modules: false,
-				// the supported browsers of the three.js browser bundle
-				// https://browsersl.ist/?q=%3E0.3%25%2C+not+dead
-				targets: '>0.3%, not dead',
+				targets: '>1%',
 				loose: true,
 				bugfixes: true,
 			}