diff --git a/README.md b/README.md index c5f1851..601e680 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ The UI language is automatically detected from browser settings and can be manua ## Browser Compatibility -- Build target: `ES2015` +- Build target: `ES2020` - Supports modern browsers (Chrome, Firefox, Safari, Edge) - Responsive layout for mobile and tablet access diff --git a/README_CN.md b/README_CN.md index 00628c5..a9e66b8 100644 --- a/README_CN.md +++ b/README_CN.md @@ -111,7 +111,7 @@ npm run build ## 浏览器兼容性 -- 构建目标:`ES2015` +- 构建目标:`ES2020` - 支持 Chrome、Firefox、Safari、Edge 等现代浏览器 - 支持移动端响应式布局,可通过手机/平板访问 diff --git a/vite.config.ts b/vite.config.ts index afcf0a5..38207ed 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -63,7 +63,7 @@ export default defineConfig({ } }, build: { - target: 'es2015', + target: 'es2020', outDir: 'dist', assetsInlineLimit: 100000000, chunkSizeWarningLimit: 100000000,