Skip to content

Commit

Permalink
feat(plugins): Pass Config Modules to plugins (#4094)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanzgc authored May 17, 2023
1 parent 2945769 commit e2d29d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/smart-students-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---

feat(plugins): Pass Config Modules to plugin
2 changes: 1 addition & 1 deletion packages/medusa/src/loaders/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function getResolvedPlugins(
resolve: `${rootDirectory}/dist`,
name: `project-plugin`,
id: createPluginId(`project-plugin`),
options: {},
options: configModule,
version: createFileContentHash(process.cwd(), `**`),
})

Expand Down

0 comments on commit e2d29d3

Please sign in to comment.