chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -28,7 +28,7 @@ import { SemiRspackPlugin } from '@douyinfe/semi-rspack-plugin';
const getDefine = () => {
const define = {};
Object.keys(GLOBAL_ENVS).forEach(key => {
// 在rspack的define中字符串需要前后拼接上双引号才能在代码中作为字符串使用。
// In the definition of rspack, strings need to be enclosed in double quotes before they can be used as strings in code.
if (typeof GLOBAL_ENVS[key] === 'string') {
define[key] = `"${GLOBAL_ENVS[key]}"`;
} else {
@@ -115,7 +115,7 @@ export const defineConfig = (options: Partial<RsbuildConfig>) => {
),
},
include: [
// 以下几个包包含未降级的 ES 2022 语法(private methods)需要参与打包
// The following packages contain undegraded ES 2022 syntax (private methods) that need to be packaged
/\/node_modules\/(marked|@dagrejs|@tanstack)\//,
],
},