preactjs / preset-vite

Preset for using Preact with the vite bundler
https://npm.im/@preact/preset-vite
MIT License
259 stars 26 forks source link

fix: Devtool flag inconsistencies #113

Closed rschristian closed 6 months ago

rschristian commented 6 months ago

Non-breaking form of #112

devToolsEnabled becomes a derived value, formed of the user passed option, whether it's a prod build or not, and the user-passed devtoolsInProd option.

Still not sure about the devtools source, see below