chore(deps): update dependency vite-plugin-dynamic-base to ^1.4.1 - #510
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency vite-plugin-dynamic-base to ^1.4.1#510renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Member
|
需要合并一下之前patch的修改,1.4.0可能并未完全修复问题 |
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
6 times, most recently
from
May 18, 2026 17:45
202583c to
24b8973
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
4 times, most recently
from
May 29, 2026 07:09
230d321 to
eec7fe3
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
2 times, most recently
from
June 3, 2026 00:38
5a64810 to
277ce47
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
3 times, most recently
from
June 17, 2026 06:13
52f31cb to
9a4f662
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
3 times, most recently
from
June 30, 2026 04:09
4cc2849 to
45f758c
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
3 times, most recently
from
July 16, 2026 19:16
d85d9b1 to
19344ae
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
from
July 20, 2026 16:02
19344ae to
6c02dc7
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
3 times, most recently
from
July 30, 2026 15:12
5c19290 to
676e439
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
2 times, most recently
from
August 4, 2026 04:37
beb9cb4 to
1aa290b
Compare
PIKACHUIM
previously approved these changes
Aug 7, 2026
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
2 times, most recently
from
August 14, 2026 18:11
152b894 to
15a1d3f
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
from
August 26, 2026 15:49
15a1d3f to
b78c7ee
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
2 times, most recently
from
August 28, 2026 14:54
4ea5818 to
938ade5
Compare
pikachuren
reviewed
Sep 1, 2026
pikachuren
left a comment
Collaborator
There was a problem hiding this comment.
结论:请求修改 — 本地 patch 无法应用到新版本
Build Check 失败原因很明确:
[ERR_PNPM_PATCH_FAILED] Could not apply patch
patches/vite-plugin-dynamic-base.patch
to node_modules/.pnpm/vite-plugin-dynamic-base@1.4.1_patch_hash=...
仓库在 pnpm-workspace.yaml 里对这个依赖挂了本地补丁:
patchedDependencies:
# if https://github.com/chenxch/vite-plugin-dynamic-base/pull/36 is merged,
# this patch can be removed
vite-plugin-dynamic-base: patches/vite-plugin-dynamic-base.patch补丁改的是 dist/core/utils.js 里的 replaceInStringLiteral 和 replaceInTemplateElement,1.4.1 的这两个函数实现发生了变化,上下文对不上导致 patch 应用失败,安装阶段直接中断。
这里有个前置判断需要先做:补丁注释指向上游 PR chenxch/vite-plugin-dynamic-base#36,如果 1.4.1 已经合入了等价修复,那么正确做法不是重做补丁,而是连同补丁一起删除——保留一个功能重复的补丁反而可能把已修好的行为改坏。所以建议按顺序确认:
- 先核对 1.4.1 的
dist/core/utils.js,看这两处修改(用literal.raw而非literal.value以保留转义、以及模板字面量替换去掉多余的前导/)是否已包含在上游; - 若已包含,从
pnpm-workspace.yaml移除patchedDependencies条目并删掉patches/vite-plugin-dynamic-base.patch; - 若未包含,用
pnpm patch vite-plugin-dynamic-base@1.4.1基于新版本重新生成补丁。
无论走哪条路,合并前都需要验证子路径部署(非根 base)下资源路径重写仍然正确,这正是该补丁要解决的问题,回归了不容易被常规构建发现。当前状态不能合并。
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
from
September 2, 2026 16:54
938ade5 to
3d0e953
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-dynamic-base-1.x
branch
from
September 7, 2026 22:32
3d0e953 to
f814269
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.3.0→^1.4.1Release Notes
chenxch/vite-plugin-dynamic-base (vite-plugin-dynamic-base)
v1.4.1Compare Source
v1.4.0Compare Source
2026-05-09
Fix
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.