Closed jspn-creative closed 1 week ago
Run & review this pull request in StackBlitz Codeflow.
Thanks for your contribution.
The silent
type should be boolean
instead of a fixed value.
If you want to avoid the plugin's terminal output, set silent
to true
:
import TurboConsole from 'unplugin-turbo-console/vite'
export default defineConfig({
TurboConsole({
silent: true
})
})
Description
The 'silent' configuration type and documentation was flipped — specifying
silent:false
as a config option has no effect as the default value actually is false.silent:true
works as intended, but produces a type error.Linked Issues
N/a
Additional context
N/a