Spaces:
Sleeping
Sleeping
Upload next.config.ts with huggingface_hub
Browse files- next.config.ts +15 -0
next.config.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { NextConfig } from "next";
|
| 2 |
+
|
| 3 |
+
const nextConfig: NextConfig = {
|
| 4 |
+
output: "standalone",
|
| 5 |
+
typescript: {
|
| 6 |
+
ignoreBuildErrors: true,
|
| 7 |
+
},
|
| 8 |
+
reactStrictMode: false,
|
| 9 |
+
// Transpile Three.js packages for proper bundling
|
| 10 |
+
transpilePackages: ['three', '@react-three/fiber', '@react-three/drei'],
|
| 11 |
+
// Empty turbopack config to silence the webpack warning
|
| 12 |
+
turbopack: {},
|
| 13 |
+
};
|
| 14 |
+
|
| 15 |
+
export default nextConfig;
|