Hamkytech commited on
Commit
ac86eb3
·
verified ·
1 Parent(s): ac289e3

Upload next.config.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. next.config.js +19 -0
next.config.js ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /** @type {import('next').NextConfig} */
2
+ const nextConfig = {
3
+ reactStrictMode: true,
4
+ swcMinify: true,
5
+ images: {
6
+ unoptimized: true,
7
+ },
8
+ webpack: (config, { isServer }) => {
9
+ if (!isServer) {
10
+ config.resolve.fallback = {
11
+ ...config.resolve.fallback,
12
+ fs: false,
13
+ };
14
+ }
15
+ return config;
16
+ },
17
+ };
18
+
19
+ module.exports = nextConfig;