소스 검색

去除兼容

liushengqiang 2 년 전
부모
커밋
e81c21bf62
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  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(),
 	],