js-waku-examples/examples/rln-js/next.config.js

14 lines
292 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
webpack: (config) => {
config.externals.push({
"utf-8-validate": "commonjs utf-8-validate",
bufferutil: "commonjs bufferutil",
});
return config;
},
};
module.exports = nextConfig;