Minor Changes
-
#1057
c0ce915Thanks @ascorbic! - BREAKING: Removes thewebhookNotifierPluginnamed export and the factory call shape. Import the default export and pass it directly intoplugins:orsandboxed:.- import { webhookNotifierPlugin } from "@emdash-cms/plugin-webhook-notifier"; + import webhookNotifier from "@emdash-cms/plugin-webhook-notifier"; export default defineConfig({ integrations: [ emdash({ - sandboxed: [webhookNotifierPlugin()], + sandboxed: [webhookNotifier], }), ], });
Two changes: drop the
{ }around the import, and drop the()after the plugin name. Per-install configuration moved to the admin UI's settings (KV-backed) when the sandboxed plugin redesign landed, so there's no longer a need for a factory call.