Files
movie-advisor/next.config.js
T
2023-08-11 15:23:01 +03:00

25 lines
381 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '**'
}
]
},
future: {
webpack5: true
},
webpack(config) {
config.resolve.fallback = {
...config.resolve.fallback,
encoding: false
};
return config;
}
};
module.exports = nextConfig;