Auto merge base into i18n

This commit is contained in:
GitHub Actions 2025-06-17 10:15:28 +00:00
commit 04e89b7c0e

View File

@ -7,6 +7,9 @@ const updatePackageJson = (): Plugin => {
return { return {
name: 'update-package-json', name: 'update-package-json',
async buildStart() { async buildStart() {
// 只在生产环境构建时执行
if (process.env.NODE_ENV !== 'production') return
const packageJsonPath = path.resolve(process.cwd(), 'package.json') const packageJsonPath = path.resolve(process.cwd(), 'package.json')
try { try {