From 9a45b35511a9e3a90840cf9850ebde6dd6069d63 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Thu, 25 Apr 2024 09:40:07 +0800 Subject: [PATCH] release 4.2.1 --- CHANGELOG.en-US.md | 4 ++++ CHANGELOG.zh-CN.md | 4 ++++ package.json | 2 +- site/vite.config.ts | 5 ++++- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 1836e3b8f..b76a61caa 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -10,6 +10,10 @@ --- +## 4.2.1 + +- ๐Ÿž fix Input clear action error [#7523](https://github.com/vueComponent/ant-design-vue/issues/7523) + ## 4.2.0 - ๐ŸŒŸ Optimize the textColor change when the layout component switches to dark mode [#7498](https://github.com/vueComponent/ant-design-vue/issues/7498) diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 1aefcede7..36c43e269 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -10,6 +10,10 @@ --- +## 4.2.1 + +- ๐Ÿž ไฟฎๅค Input ๆธ…็ฉบๆ“ไฝœๆ‰ๆŠฅ้”™้—ฎ้ข˜ [#7523](https://github.com/vueComponent/ant-design-vue/issues/7523) + ## 4.2.0 - ๐ŸŒŸ ไผ˜ๅŒ– layout ็ป„ไปถๅˆ‡ๆข dark ๆจกๅผๆ—ถ textColor ๅ˜ๅŒ– [#7498](https://github.com/vueComponent/ant-design-vue/issues/7498) diff --git a/package.json b/package.json index 08d9a73e9..e8a0cd12e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ant-design-vue", - "version": "4.2.0", + "version": "4.2.1", "title": "Ant Design Vue", "description": "An enterprise-class UI design language and Vue-based implementation", "keywords": [ diff --git a/site/vite.config.ts b/site/vite.config.ts index 975550532..5e913e761 100644 --- a/site/vite.config.ts +++ b/site/vite.config.ts @@ -9,7 +9,10 @@ import vueJsx from '@vitejs/plugin-vue-jsx'; export default { resolve: { alias: { - vue: 'vue/dist/vue.esm-bundler.js', + vue: + process.env.NODE_ENV === 'production' + ? 'vue/dist/vue.runtime.esm-browser.prod.js' + : 'vue/dist/vue.esm-bundler.js', 'ant-design-vue/es': path.resolve(__dirname, '../components'), 'ant-design-vue': path.resolve(__dirname, '../components'), '@': path.resolve(__dirname, './src'),