17 lines
360 B
JavaScript
17 lines
360 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,
|
|
experimental: {
|
|
scrollRestoration: true,
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|