Skip to content

Commit 78e7d64

Browse files
authored
Merge pull request #400 from timlrx/fix/webpack-loader
fix: remove unused loader config
2 parents 01c180e + f29e606 commit 78e7d64

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)