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