portfolio/next.config.mjs
2024-05-28 23:11:13 +02:00

14 lines
345 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
async redirects() {
return []
},
future: { webpack5: true },
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
config.resolve.alias.canvas = false
config.resolve.alias.encoding = false
return config
},
}
export default nextConfig