preset-vite icon indicating copy to clipboard operation
preset-vite copied to clipboard

refactor: Remove `devtoolsInProd` option, default to dev/prod

Open rschristian opened this issue 3 months ago • 0 comments

Breaking change, don't merge before we're ready!

devtoolsInProd feels a bit unnecessary, as we can instead toggle based on dev/prod environment (as can the user). If a user wanted to always enable devtools, no problem, they can pass a constant true into the plugin options like so: preact({ devToolsEnabled: true })

rschristian avatar Mar 16 '24 10:03 rschristian