Skip to content

Commit

Permalink
fix: next config sequelize
Browse files Browse the repository at this point in the history
  • Loading branch information
MattDClarke committed Oct 7, 2024
1 parent ff199f0 commit 6b548e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ The following Next.js configuration was added to the `next.config.js` file:

```js
const nextConfig = {
serverExternalPackages : ['sequelize']
experimental : {
serverComponentsExternalPackages : ['sequelize']
}
};
```

Expand Down
4 changes: 3 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
serverExternalPackages : ['sequelize']
experimental : {
serverComponentsExternalPackages : ['sequelize']
}
};

export default nextConfig;

0 comments on commit 6b548e3

Please sign in to comment.