build(deps): bump dependencies (enable nextjs webpack 5 future support)

This commit is contained in:
sct
2021-03-31 19:55:17 +09:00
parent d524371ace
commit 86d6a25e5b
3 changed files with 331 additions and 161 deletions

View File

@@ -5,12 +5,13 @@ module.exports = {
images: {
domains: ['image.tmdb.org'],
},
future: {
webpack5: true,
},
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
issuer: {
test: /\.(js|ts)x?$/,
},
issuer: /\.(js|ts)x?$/,
use: ['@svgr/webpack'],
});