bug: fix base path

This commit is contained in:
Sasha 2023-11-22 23:44:41 +01:00
parent 85d8156b7a
commit 1184817741
No known key found for this signature in database

View File

@ -1,6 +1,9 @@
const packageJSON = require("./package.json");
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
basePath: "/" + packageJSON.name,
webpack: (config) => {
config.externals.push({
"utf-8-validate": "commonjs utf-8-validate",