Skip to content
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

fix: fix early logger definiton in resolveConfig #2425

Merged
merged 1 commit into from
Mar 15, 2021
Merged

fix: fix early logger definiton in resolveConfig #2425

merged 1 commit into from
Mar 15, 2021

Conversation

stingalleman
Copy link
Contributor

@stingalleman stingalleman commented Mar 8, 2021

The config was defined too early in resolveConfig. config.logLevel and config.clearScreen both aren't defined yet, so these options do not work.

@stingalleman
Copy link
Contributor Author

Hey @antfu, could this be merged (and pushed to npm)? I really need this fixed 😄

@patak-dev
Copy link
Member

Hey @stingalleman, until Vite is released with these changes, you could use a tool like https://www.npmjs.com/package/patch-package to patch the current version locally and be able to share it with others.

@stingalleman
Copy link
Contributor Author

Hey @stingalleman, until Vite is released with these changes, you could use a tool like https://www.npmjs.com/package/patch-package to patch the current version locally and be able to share it with others.

I didn't know tools like these existed. Definitely going to use that. Thank you!

@yyx990803 yyx990803 merged commit 96ea9f4 into vitejs:main Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants