RealtimeSDWebRTC / frontend /next.config.js
Jon Taylor
test deps
271c11a
raw
history blame
423 Bytes
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false,
output: "export",
webpack: (config) => {
// See https://webpack.js.org/configuration/resolve/#resolvealias
config.output.globalObject = "this";
config.resolve.alias = {
...config.resolve.alias,
sharp$: false,
"onnxruntime-node$": false,
};
return config;
},
};
module.exports = nextConfig;