14 lines
308 B
JavaScript
14 lines
308 B
JavaScript
const config = require("./data/config.json");
|
|
const basePath =
|
|
config.basePath && config.basePath !== "/" ? config.basePath : "";
|
|
|
|
/** @type {import("next").NextConfig} */
|
|
const nextConfig = {
|
|
basePath,
|
|
output: "export",
|
|
trailingSlash: true,
|
|
reactStrictMode: true,
|
|
};
|
|
|
|
module.exports = nextConfig;
|