anycoder-eceaaa50 / next.config.js
allisongattone's picture
Upload next.config.js with huggingface_hub
287848d verified
Raw History Blame Contribute Delete
368 Bytes
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
unoptimized: true,
},
webpack: (config, { isServer }) => {
if (!isServer) {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
path: false,
};
}
return config;
},
};
module.exports = nextConfig;