Browse Source

去除兼容

liushengqiang 1 year ago
parent
commit
e81c21bf62
1 changed files with 5 additions and 5 deletions
  1. 5 5
      vite.config.ts

+ 5 - 5
vite.config.ts

@@ -11,11 +11,11 @@ export default defineConfig({
 	resolve: {},
 	plugins: [
 		// mkcert(), // 本地https
-		legacy({
-			targets: ['Chrome 63'],
-			additionalLegacyPolyfills: ['regenerator-runtime/runtime'],
-			modernPolyfills: true
-		  }),
+		// legacy({
+		// 	targets: ['Chrome 63'],
+		// 	additionalLegacyPolyfills: ['regenerator-runtime/runtime'],
+		// 	modernPolyfills: true
+		//   }),
 		vue(),
 		vueJsx(),
 	],