From 0e015ec0ab7cde617330f099dfcb0eaada858011 Mon Sep 17 00:00:00 2001 From: Pascal Baljet Date: Mon, 27 Nov 2023 14:07:24 +0100 Subject: [PATCH] Support for loading plugins --- lib/SpladeCorePlugin.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/SpladeCorePlugin.js b/lib/SpladeCorePlugin.js index 8fca899..fe12aff 100644 --- a/lib/SpladeCorePlugin.js +++ b/lib/SpladeCorePlugin.js @@ -57,6 +57,11 @@ export default { }; } + // options.plugins + if (options.plugins) { + options.plugins(app); + } + // options.components for (const [path, m] of Object.entries(options.components)) { const componentName = path