Skip to content

Commit

Permalink
Do not require plugins, experimentalPlugins in the FaustConfig ty…
Browse files Browse the repository at this point in the history
…pe (#1840)

* Do not require plugins in Faust Config

* Create changeset
  • Loading branch information
blakewilson committed Mar 14, 2024
1 parent 8e1b5db commit a54ce69
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/hungry-yaks-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@faustwp/core': patch
---

Fixed: FaustConfig no longer requires `plugins` or `experimentalPlugins` properties
7 changes: 5 additions & 2 deletions packages/faustwp-core/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ export interface FaustConfig {
templates: { [key: string]: WordPressTemplate };
experimentalToolbar?: boolean;
loginPagePath?: string;
experimentalPlugins: FaustPlugin[];
plugins: FaustPlugin[];
/**
* @deprecated Plugins are no longer experimental, use "plugins" instead.
*/
experimentalPlugins?: FaustPlugin[];
plugins?: FaustPlugin[];
possibleTypes: PossibleTypesMap;
basePath?: string;
/**
Expand Down

0 comments on commit a54ce69

Please sign in to comment.