From 90d0c859fc8bdf6b89a76dbcdefa234a3aaafc31 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Wed, 19 Mar 2025 21:00:37 +0100 Subject: [PATCH] chore(mind_map): import node-menu's style.css to allow webpack to bundle it previously this was loaded from the node_modules folder and was exposed via a static asset path -> since we got rid of this with the last commit, we need to instead let webpack bundle it "importing" the css here --- src/public/app/widgets/type_widgets/mind_map.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/public/app/widgets/type_widgets/mind_map.ts b/src/public/app/widgets/type_widgets/mind_map.ts index a9e36b51c..9a9d82fb3 100644 --- a/src/public/app/widgets/type_widgets/mind_map.ts +++ b/src/public/app/widgets/type_widgets/mind_map.ts @@ -5,6 +5,9 @@ import nodeMenu from "@mind-elixir/node-menu"; import type FNote from "../../entities/fnote.js"; import type { EventData } from "../../components/app_context.js"; +// allow node-menu plugin css to be bundled by webpack +import "@mind-elixir/node-menu/dist/style.css"; + const NEW_TOPIC_NAME = ""; const TPL = `