Sasha 659078e71a
bug: fix base path (#288)
* bug: fix base path

* add open script

* up rln
2023-11-23 01:56:35 +03:00

17 lines
376 B
JavaScript

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",
bufferutil: "commonjs bufferutil",
});
return config;
},
};
module.exports = nextConfig;