Merge commit '80eca1bc7c1174f9c44a8df9af4ddc8ab855291b' as 'cms/core'

This commit is contained in:
2026-06-30 00:09:44 +02:00
53 changed files with 6896 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// The plugin manager for this instance, loaded once from config.plugins.
//
// Shared singleton: index.js wires its routes/hooks, publish.js fires onPublish,
// stats.js merges collectStats. A pluginless site (config.plugins = []) gets an
// empty manager — every call is a no-op, zero DB reads.
import { loadPlugins } from './plugin-manager.js';
import { config } from './config.js';
export const manager = await loadPlugins(config.plugins);