chore: 更新升级依赖库

This commit is contained in:
TsMask
2024-10-28 10:48:17 +08:00
parent 0ff5bd5e20
commit 012fc44f08
3 changed files with 21 additions and 34 deletions

View File

@@ -41,18 +41,6 @@ export default defineConfig(({ mode }) => {
},
extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue'],
},
css: {
preprocessorOptions: {
less: {
// DO NOT REMOVE THIS LINE
javascriptEnabled: true,
modifyVars: {
// hack: `true; @import 'ant-design-vue/dist/antd.variable.less'`,
// '@primary-color': '#eb2f96', // 全局主色
},
},
},
},
build: {
target: 'esnext', // Use 'esnext' to support the latest features
sourcemap: false,
@@ -94,7 +82,7 @@ export default defineConfig(({ mode }) => {
AntDesignVueResolver({
importStyle: false,
resolveIcons: true,
cjs: true, // 避免es模块打包缺失
cjs: false, // 统一使用es模块打包
}),
],
}),