Repository navigation
fix(vite): 修复资源内联的数字阈值判断 #19559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Single-Dancer
merged 4 commits into
NervJS:main
from
Jarvis636431:fix/vite-asset-inline-limit
Oct 23, 2026
+149
−1
Merged
fix(vite): 修复资源内联的数字阈值判断 #19559
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
52374c7
fix(vite): 修复资源内联的数字阈值判断
Jarvis636431 ee3cb2e
test(vite): 统一资源测试路径以兼容 Windows
Jarvis636431 e06c6db
test(vite): cover asset limits after compiler defaults merge
Jarvis636431 29bb839
fix(vite): align asset inline threshold with webpack
Jarvis636431 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test(vite): cover asset limits after compiler defaults merge
- Loading branch information
commit e06c6dbd641b56e6f4378f4e2e3ac74e4b0f30c0
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: NervJS/taro
Length of output: 1849
🏁 Script executed:
Repository: NervJS/taro
Length of output: 20980
测试应直接导入源码常量。
在干净检出中直接运行
packages/taro-vite-runner的pnpm test时,@tarojs/runner-utils会解析到未生成的dist/index.js,测试因此可能启动失败。请将该测试导入改为源码路径。根级 CI 会先执行
pnpm build,因此该 CI 流程已有构建前置条件。本问题限定于直接运行该包的测试命令。📝 Committable suggestion
🤖 Prompt for AI Agents