Răsfoiți Sursa

šŸ“¦ build(tsconfig): ē»Ÿäø€å¤šäøŖUIåŒ…ēš„TypeScript编译目标

- å°†ę‰€ęœ‰mini-ui-packagesäø‹åŒ…ēš„tsconfig.jsonäø­ēš„`target`从ES2020é™ēŗ§äøŗES5
- ę¶‰åŠåŒ…åŒ…ę‹¬ļ¼šmini-charts, mini-enterprise-auth-ui, mini-testing-utils, rencai-*ē³»åˆ—UI, yongren-*ē³»åˆ—UI
- ę­¤äø¾ę—ØåœØęé«˜ä»£ē åœØę—§ē‰ˆęµč§ˆå™Øäø­ēš„å…¼å®¹ę€§
yourname 1 săptămână în urmă
părinte
comite
8124094040

+ 1 - 1
mini-ui-packages/mini-charts/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/mini-enterprise-auth-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/mini-testing-utils/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/rencai-attendance-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/rencai-auth-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/rencai-dashboard-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/rencai-employment-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/rencai-personal-info-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/rencai-settings-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/rencai-shared-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/yongren-dashboard-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/yongren-order-management-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/yongren-settings-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/yongren-shared-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/yongren-statistics-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",

+ 1 - 1
mini-ui-packages/yongren-talent-management-ui/tsconfig.json

@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "target": "ES2020",
+    "target": "ES5",
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",