diff --git a/packages/create-vant-cli-app/tsconfig.json b/packages/create-vant-cli-app/tsconfig.json index 83790d350..d40c806f7 100644 --- a/packages/create-vant-cli-app/tsconfig.json +++ b/packages/create-vant-cli-app/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2017", + "target": "ES2019", "outDir": "./lib", "module": "commonjs", "strict": true, diff --git a/packages/vant-cli/tsconfig.json b/packages/vant-cli/tsconfig.json index 136f37d4e..8921c1271 100644 --- a/packages/vant-cli/tsconfig.json +++ b/packages/vant-cli/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2017", + "target": "ES2019", "outDir": "./lib", "module": "commonjs", "strict": true, diff --git a/packages/vant-markdown-vetur/tsconfig.json b/packages/vant-markdown-vetur/tsconfig.json index 83790d350..d40c806f7 100644 --- a/packages/vant-markdown-vetur/tsconfig.json +++ b/packages/vant-markdown-vetur/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2017", + "target": "ES2019", "outDir": "./lib", "module": "commonjs", "strict": true, diff --git a/packages/vant-popperjs/tsconfig.json b/packages/vant-popperjs/tsconfig.json index 9d288145e..3526c0d68 100644 --- a/packages/vant-popperjs/tsconfig.json +++ b/packages/vant-popperjs/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es5", + "target": "ES5", "outDir": "./dist", "module": "ES2015", "strict": true, diff --git a/tsconfig.json b/tsconfig.json index 924e6b665..6f2985f87 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,8 +2,8 @@ "compilerOptions": { "baseUrl": ".", "jsx": "preserve", - "target": "esnext", - "module": "esnext", + "target": "ES2019", + "module": "ESNext", "strict": true, "allowJs": true, "skipLibCheck": true,