docs: use require instead of import in medusa-config.js (#9102)

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
Shahed Nasser
2024-09-16 20:34:00 +03:00
committed by GitHub
parent 58f06be44d
commit 8d3fb7fb2b
29 changed files with 29 additions and 31 deletions

View File

@@ -42,7 +42,7 @@ npm install @medusajs/auth-github@preview
Next, add the module to the array of providers passed to the Auth Module:
```js title="medusa-config.js"
import { Modules } from "@medusajs/utils"
const { Modules } = require("@medusajs/utils")
// ...