class-profile-2023/next.config.js

12 lines
254 B
JavaScript

const basePath = process.env.NEXT_PUBLIC_BASE_PATH || "";
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
basePath,
assetPrefix: `${basePath}/`,
publicRuntimeConfig: { basePath },
};
module.exports = nextConfig;