web-chat / next.config.js
matt HOFFNER
add voice chat
88cc829
raw
history blame
471 Bytes
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
// Custom Webpack configuration
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
// Add the node-loader for handling .node files
config.module.rules.push({
test: /\.node$/,
loader: 'node-loader',
});
// Return the modified config
return config;
},
}
module.exports = nextConfig