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
This commit is contained in:
Panagiotis Papadopoulos 2025-03-19 21:00:37 +01:00
parent feb9fa03c3
commit 90d0c859fc

View File

@ -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 = `