discord-clone/next.config.js

20 lines
392 B
JavaScript
Raw Normal View History

2023-09-04 19:53:50 -07:00
/** @type {import('next').NextConfig} */
2023-10-08 17:23:35 -07:00
const nextConfig = {
webpack: (config) => {
config.externals.push({
"utf-8-validate": "utf-8-validate",
"bufferutil": "commonjs bufferutil"
})
return config;
},
2023-10-08 17:23:35 -07:00
images: {
domains: [
"uploadthing.com",
"utfs.io"
]
}
}
2023-09-04 19:53:50 -07:00
module.exports = nextConfig