-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
feat: call Logger for plugin logs in build #13757
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
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f68051d
feat: Support Rollup logging for all log levels
mato533 bb2eaf7
test: Add test for Rollup logging
mato533 5d986cd
test: Add test for ignoreing warnings
mato533 c08aa02
test: fix typo of test names
mato533 615926a
feat: use vite debugger when debug
mato533 cec5a0c
test: remove test for debugger
mato533 b6dfee1
chore: merge main
sapphi-red 6e105ff
chore: fix merge error
sapphi-red dd68a89
chore: fix test
sapphi-red 16cd07f
fix: duplicate plugin name
sapphi-red 62ca4e5
chore: make condition safer
sapphi-red 3360743
chore: dont call dim for debug logs
sapphi-red e948941
chore: fix merge error
sapphi-red 30ac7b7
chore: remove some empty lines
sapphi-red 8386630
chore: normal color for info
sapphi-red 3b19ed4
test: extract callOnRollupLog
sapphi-red 609bfe0
fix: respect user's onwarn
sapphi-red fb994af
chore: remove unnecessary type assertion
sapphi-red b605375
fix: handle unknown logLevel
sapphi-red 131a4c6
refactor: normalize logging
sapphi-red 955bc22
feat: always call `environment.logger`
sapphi-red 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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
packages/vite/src/node/__tests__/package.jsonwas picked up forpackages/vite/src/node/__tests__/build.spec.tsby eslint-plugin-n and because that package.json does not haveenginesfield,>=16.0.0was used and an lint error happened forutil.stripVTCharacters.https://github.com/eslint-community/eslint-plugin-n?tab=readme-ov-file#configured-nodejs-version-range
I set this to make
^18.0.0 || ^20.0.0 || >=22.0.0to be applied across the repo.