Spaces:
Sleeping
Sleeping
Update next.config.ts
Browse files- next.config.ts +17 -3
next.config.ts
CHANGED
|
@@ -1,7 +1,21 @@
|
|
| 1 |
import type { NextConfig } from "next";
|
| 2 |
-
|
| 3 |
const nextConfig: NextConfig = {
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
};
|
| 6 |
|
| 7 |
-
export default nextConfig;
|
|
|
|
| 1 |
import type { NextConfig } from "next";
|
| 2 |
+
/** @type {import('next').NextConfig} */
|
| 3 |
const nextConfig: NextConfig = {
|
| 4 |
+
images: {
|
| 5 |
+
domains: ['*'],
|
| 6 |
+
dangerouslyAllowSVG: true,
|
| 7 |
+
remotePatterns: [
|
| 8 |
+
{
|
| 9 |
+
protocol: 'https',
|
| 10 |
+
hostname: '*',
|
| 11 |
+
},
|
| 12 |
+
],
|
| 13 |
+
},
|
| 14 |
+
output: 'standalone',
|
| 15 |
+
|
| 16 |
+
experimental: {
|
| 17 |
+
serverComponentsExternalPackages: ['sharp', 'onnxruntime-node'],
|
| 18 |
+
},
|
| 19 |
};
|
| 20 |
|
| 21 |
+
export default nextConfig;
|