bud.wpjson.settings is not deprecated for bud@7.0.0
the defaults for bud.wpjson.settings include disabling dropCap, which wasn't in the config before since bud.wpjson.settings fully overrides the defaults. Unless we explicitly set it in the config it will be false (see the theme.json diff).
if (import.meta.webpackHot) seems safer than optional chaining, since import.meta.webpackHot isn't a real method. For instance import.meta?.webpackHot? will cause errors, which would be unexpected given our sample code.
todo
[x] gotta actually bump to 6.12.0 after release
[x] resolve dropCap question one way or the other (see above)
jsconfig.json
bud.wpjson.set
replacingbud.wpjson.settings
.bud.wpjson.settings
is not deprecated for bud@7.0.0bud.wpjson.settings
include disablingdropCap
, which wasn't in the config before sincebud.wpjson.settings
fully overrides the defaults. Unless we explicitly set it in the config it will befalse
(see thetheme.json
diff).if (import.meta.webpackHot)
seems safer than optional chaining, sinceimport.meta.webpackHot
isn't a real method. For instanceimport.meta?.webpackHot?
will cause errors, which would be unexpected given our sample code.todo
dropCap
question one way or the other (see above)