14 lines
313 B
JavaScript
14 lines
313 B
JavaScript
import path from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const projectRoot = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: "export",
|
|
trailingSlash: true,
|
|
outputFileTracingRoot: projectRoot
|
|
};
|
|
|
|
export default nextConfig;
|