Skip to content

Commit

Permalink
Update next.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hari-krishnan-88 committed Aug 4, 2023
1 parent f2a13d1 commit 58a4343
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@ const nextConfig = {
// See https://nextjs.org/docs/pages/api-reference/next-config-js/output#automatically-copying-traced-files
output: 'standalone', // Feel free to modify/remove this option

_experimental: {
// Indicate that these packages should not be bundled by webpack
experimental: {
serverComponentsExternalPackages: ['sharp', 'onnxruntime-node'],
},
get experimental() {
return this._experimental;
},
set experimental(value) {
this._experimental = value;
},
};

module.exports = nextConfig

0 comments on commit 58a4343

Please sign in to comment.