You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I write a plugin that tries to set clearScreen: false in the config, it has no effect.
I know I can simply pass the option directly to defineConfig, but I'm reporting this because it's part of a plugin I'm writing that does other stuff but wants to ensure the screen is not cleared.
Neither keepScreen1 or keepScreen2 plugins will work. This is to showcase the 2 ways the documentation says you can update a config (via deep merge or directly editing the config object).
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Hello @qodesmith. We like your proposal/feedback and would appreciate a contribution via a Pull Request by you or another community member. We thank you in advance for your contribution and are looking forward to reviewing it!
Describe the bug
If I write a plugin that tries to set
clearScreen: false
in the config, it has no effect.I know I can simply pass the option directly to
defineConfig
, but I'm reporting this because it's part of a plugin I'm writing that does other stuff but wants to ensure the screen is not cleared.Reproduction
https://github.com/qodesmith/vite-keep-screen
Steps to reproduce
Neither
keepScreen1
orkeepScreen2
plugins will work. This is to showcase the 2 ways the documentation says you can update a config (via deep merge or directly editing the config object).System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: