Spaces:
Sleeping
Sleeping
/** @type {import('next').NextConfig} */ | |
const nextConfig = { | |
webpack: (config) => { | |
// Ignore node-specific modules when bundling for the browser | |
// See https://webpack.js.org/configuration/resolve/#resolvealias | |
config.resolve.alias = { | |
...config.resolve.alias, | |
"sharp$": false, | |
"onnxruntime-node$": false, | |
} | |
return config; | |
}, | |
}; | |
export default nextConfig; | |