docs: updates for breaking changes (#9558)
- Update modules registration - Update `medusa-config.js` to `medusa-config.ts` - Update the out directory in the admin deployment guide - Update logger imports - Other fixes Note: will need to re-generate references afterwards Closes #9548
This commit is contained in:
@@ -153,16 +153,16 @@ This sets the module’s name to `subscriptionModuleService` and its main servic
|
||||
|
||||
### Register Module in Medusa’s Configuration
|
||||
|
||||
Finally, add the module into `medusa-config.js`:
|
||||
Finally, add the module into `medusa-config.ts`:
|
||||
|
||||
```ts title="medusa-config.js"
|
||||
```ts title="medusa-config.ts"
|
||||
module.exports = defineConfig({
|
||||
// ...
|
||||
modules: {
|
||||
subscriptionModuleService: {
|
||||
modules: [
|
||||
{
|
||||
resolve: "./modules/subscription",
|
||||
},
|
||||
},
|
||||
]
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user