mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
chore: change es2018 to es2020
This commit is contained in:
@@ -56,4 +56,4 @@ export const buildConfigEntries = Object.entries(
|
||||
export type BuildConfig = typeof buildConfig
|
||||
export type BuildConfigEntries = [Module, BuildInfo][]
|
||||
|
||||
export const target = 'es2018'
|
||||
export const target = 'es2020'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"target": "es2018",
|
||||
"target": "es2020",
|
||||
"module": "esnext",
|
||||
"baseUrl": ".",
|
||||
"sourceMap": false,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"jsx": "preserve",
|
||||
"lib": ["ES2018", "DOM", "DOM.Iterable"],
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||
"types": ["unplugin-vue-macros/macros-global"],
|
||||
"skipLibCheck": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user