20 lines
392 B
JavaScript
20 lines
392 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
webpack: (config) => {
|
|
config.externals.push({
|
|
"utf-8-validate": "utf-8-validate",
|
|
"bufferutil": "commonjs bufferutil"
|
|
})
|
|
|
|
return config;
|
|
},
|
|
images: {
|
|
domains: [
|
|
"uploadthing.com",
|
|
"utfs.io"
|
|
]
|
|
}
|
|
}
|
|
|
|
module.exports = nextConfig
|