hugger-roaster / next.config.mjs
enzostvs's picture
enzostvs HF staff
hugger roaster v1
702763e
raw
history blame
405 Bytes
/** @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;