1 Star 0 Fork 0

Brian Z/vueShare

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vitest.config.ts 504 Bytes
一键复制 编辑 原始数据 按行查看 历史
Brian Z 提交于 2025-04-08 22:48 +08:00 . 初始化仓库
import { fileURLToPath } from 'node:url'
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
import viteConfig from './vite.config'
export default mergeConfig(
viteConfig,
defineConfig({
test: {
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/**'],
root: fileURLToPath(new URL('./', import.meta.url)),
},
base: '/',
build: {
outDir: 'dist', // 生成的文件夹
sourcemap: false, // 关闭 SourceMap
}
}),
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zjh1023/vue-share.git
git@gitee.com:zjh1023/vue-share.git
zjh1023
vue-share
vueShare
master

搜索帮助