Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Support for loading plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Nov 27, 2023
1 parent d8fa9db commit 0e015ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/SpladeCorePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e015ec

Please sign in to comment.