Skip to content

Commit f29e606

Browse files
committed
fix: remove unused loader config
1 parent 01c180e commit f29e606

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

next.config.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,6 @@ module.exports = withBundleAnalyzer({
6767
]
6868
},
6969
webpack: (config, { dev, isServer }) => {
70-
config.module.rules.push({
71-
test: /\.(png|jpe?g|gif|mp4)$/i,
72-
use: [
73-
{
74-
loader: 'file-loader',
75-
options: {
76-
publicPath: '/_next',
77-
name: 'static/media/[name].[hash].[ext]',
78-
},
79-
},
80-
],
81-
})
82-
8370
config.module.rules.push({
8471
test: /\.svg$/,
8572
use: ['@svgr/webpack'],

0 commit comments

Comments
 (0)