16 lines
322 B
JavaScript
16 lines
322 B
JavaScript
// @ts-check
|
|
|
|
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;
|