chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -46,7 +46,7 @@ const calBasePreset = (preset: string) => {
|
||||
|
||||
export interface OtherConfig {
|
||||
/**
|
||||
* 用于修复semi的package.json导出的配置问题
|
||||
* Used to fix the configuration issue of semi's package.json export
|
||||
*/
|
||||
fixSemi: boolean;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ import tsconfigPaths from 'vite-tsconfig-paths';
|
||||
export const defaultVitestConfig: UserConfig = {
|
||||
plugins: [tsconfigPaths()],
|
||||
resolve: {
|
||||
// 优先识别 main,如果没有配置 main,则识别 module
|
||||
// Priority to identify main, if main is not configured, identify the module
|
||||
mainFields: ['main', 'module', 'exports'],
|
||||
},
|
||||
server: {
|
||||
@@ -38,14 +38,14 @@ export const defaultVitestConfig: UserConfig = {
|
||||
},
|
||||
},
|
||||
sequence: {
|
||||
// vitest 2.0之后,所有钩子默认串行运行
|
||||
// After vitest 2.0, all hooks run serially by default
|
||||
hooks: 'parallel',
|
||||
},
|
||||
globals: true,
|
||||
mockReset: false,
|
||||
silent: process.env.CI === 'true',
|
||||
coverage: {
|
||||
// 逐步对各包开启
|
||||
// Gradually open each package
|
||||
all: false,
|
||||
include: ['src/**/*.ts', 'src/**/*.tsx'],
|
||||
exclude: coverageConfigDefaults.exclude,
|
||||
|
||||
Reference in New Issue
Block a user