Skip to content

Commit 0a6dd5e

Browse files
committed
remove img handler in next config
1 parent 20e9fef commit 0a6dd5e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/ui/next.config.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@ const nextConfig: NextConfig = {
2424
resourceQuery: { not: [...fileLoaderRule.resourceQuery.not, /url/] }, // exclude if *.svg?url
2525
use: ['@svgr/webpack'],
2626
},
27-
{
28-
test: /\.(png|jpe?g|gif|webp|avif)$/i,
29-
type: 'asset/resource',
30-
generator: {
31-
filename: 'static/images/[name].[hash][ext]',
32-
},
33-
},
3427
{
3528
test: /\.(woff|woff2|eot|ttf|otf)$/,
3629
type: 'asset/resource',

0 commit comments

Comments
 (0)