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:
@ -13,8 +13,8 @@ function remarkEnterpriseDirective() {
|
||||
/**
|
||||
* @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-enterprise") return SKIP;
|
||||
|
||||
const data = node.data || (node.data = {});
|
||||
|
Reference in New Issue
Block a user