preactjs / preset-vite

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

fix: Devtool flag inconsistencies #113

Closed rschristian closed 8 months ago

rschristian commented 8 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