web/NPM Workspaces: Prep ESBuild plugin for publish. (#14552)

* web: Prep ESBuild plugin for publish.

* prettier-config: Update deps.

* eslint-config: Update deps.

* docusaurus-config: Update deps.

* docs: Update deps.

* docs: Enable linter.

* docs: Lint.

* web/sfe: Clean up types. Prep for monorepo.

* esbuild-plugin-live-reload: Update deps.

* web: Tidy ESLint, script commands.

* web: Fix logs.

* web: Lint.

* web: Split compile check from cached version.
This commit is contained in:
Teffen Ellis
2025-05-21 22:09:33 +02:00
committed by GitHub
parent f48496b2cf
commit 614740a4ff
43 changed files with 7478 additions and 5935 deletions

View File

@ -13,8 +13,8 @@ function remarkPreviewDirective() {
/**
* @param {Root} tree The MDAST tree to transform.
*/
return function (tree) {
visit(tree, "textDirective", function (node) {
return (tree) => {
visit(tree, "textDirective", (node) => {
if (node.name !== "ak-preview") return SKIP;
const data = node.data || (node.data = {});