mirror of
https://github.com/SrIzan10/nextbooru.git
synced 2026-06-06 00:57:02 +00:00
24 lines
406 B
JavaScript
24 lines
406 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
webpack: (config) => {
|
|
config.externals.push('@node-rs/argon2');
|
|
return config;
|
|
},
|
|
experimental: {
|
|
serverActions: {
|
|
bodySizeLimit: '20mb',
|
|
},
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "**",
|
|
},
|
|
],
|
|
},
|
|
output: 'standalone',
|
|
};
|
|
|
|
export default nextConfig;
|