20 lines
421 B
TypeScript
20 lines
421 B
TypeScript
import { dirname } from 'node:path';
|
|
import { fileURLToPath } from 'node:url';
|
|
import type { NextConfig } from 'next';
|
|
|
|
const frontendRoot = dirname(fileURLToPath(import.meta.url));
|
|
|
|
const nextConfig: NextConfig = {
|
|
turbopack: {
|
|
root: frontendRoot,
|
|
},
|
|
outputFileTracingRoot: frontendRoot,
|
|
images: {
|
|
remotePatterns: [
|
|
{ protocol: 'https', hostname: '**' },
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|