This PR contains various improvements and cleanups to the configuration and JavaScript code. Key changes include: - Adding simple comments to `jsconfig.json`. - Improving config: `bud.wpjson.set` replaces `bud.wpjson.settings`. Note that `bud.wpjson.settings` is not deprecated. - `bud.wpjson.settings` now disables `dropCap` by default. - `app.js` and `editor.js` now use `if (import.meta.webpackHot)` instead of optional chaining, since `import.meta.webpackHot` is not a real method and using optional chaining might cause errors.
This commit is contained in:
@@ -19,8 +19,9 @@
|
||||
"translate:mo": "wp i18n make-mo ./resources/lang ./resources/lang"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@roots/bud": "6.11.0",
|
||||
"@roots/bud-tailwindcss": "6.11.0",
|
||||
"@roots/sage": "6.11.0"
|
||||
}
|
||||
"@roots/bud": "6.12.0",
|
||||
"@roots/bud-tailwindcss": "6.12.0",
|
||||
"@roots/sage": "6.12.0"
|
||||
},
|
||||
"dependencies": {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user