Minor Changes
-
#1057
c0ce915Thanks @ascorbic! - BREAKING: Removes theauditLogPluginnamed export and the factory call shape. Import the default export and pass it directly intoplugins:orsandboxed:.- import { auditLogPlugin } from "@emdash-cms/plugin-audit-log"; + import auditLog from "@emdash-cms/plugin-audit-log"; export default defineConfig({ integrations: [ emdash({ - plugins: [auditLogPlugin()], + plugins: [auditLog], }), ], });
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.