15 lines
345 B
JavaScript
15 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
|