disable ignis specific plugins if synced to regular obsidian instance

This commit is contained in:
Nystik
2026-05-16 22:55:48 +02:00
parent 91ab6c77c9
commit 3fed6241bd
4 changed files with 37 additions and 2 deletions

View File

@@ -4,6 +4,9 @@ import { installCssOverrides } from "./css-overrides.js";
import { initialize } from "./init.js";
import { fsShim } from "./fs/index.js";
// __IGNIS_VERSION__ is replaced at build time from package.json.
window.__ignis = { version: __IGNIS_VERSION__ };
installGlobals(); // process, Buffer, window overrides (before require so Buffer is available)
installRequire(); // shim registry, window.require
installCssOverrides(); // browser-specific CSS fixes