17 lines
376 B
JavaScript
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;
|