16 lines
410 B
JavaScript
16 lines
410 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
if (
|
|
process.env.LD_LIBRARY_PATH == null ||
|
|
!process.env.LD_LIBRARY_PATH.includes(
|
|
`${process.env.PWD}/node_modules/canvas/build/Release:`
|
|
)
|
|
) {
|
|
process.env.LD_LIBRARY_PATH = `${
|
|
process.env.PWD
|
|
}/node_modules/canvas/build/Release:${process.env.LD_LIBRARY_PATH || ""}`;
|
|
}
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
};
|
|
|
|
module.exports = nextConfig;
|