16 lines
398 B
JavaScript
16 lines
398 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// reactStrictMode: false,
|
|
webpack: (config) => {
|
|
config.externals.push({
|
|
"utf-8-validate": "commonjs utf-8-validate",
|
|
bufferutil: "commonjs bufferutil",
|
|
canvas: "commonjs canvas",
|
|
});
|
|
// config.infrastructureLogging = { debug: /PackFileCache/ };
|
|
return config;
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|