15 lines
320 B
TypeScript
15 lines
320 B
TypeScript
import { dirname } from 'node:path';
|
|
import { fileURLToPath } from 'node:url';
|
|
import type { NextConfig } from 'next';
|
|
|
|
const storefrontRoot = dirname(fileURLToPath(import.meta.url));
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: true,
|
|
turbopack: {
|
|
root: storefrontRoot,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|