upstream #1
@ -67,19 +67,6 @@ module.exports = withBundleAnalyzer({
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
webpack: (config, { dev, isServer }) => {
|
webpack: (config, { dev, isServer }) => {
|
||||||
config.module.rules.push({
|
|
||||||
test: /\.(png|jpe?g|gif|mp4)$/i,
|
|
||||||
use: [
|
|
||||||
{
|
|
||||||
loader: 'file-loader',
|
|
||||||
options: {
|
|
||||||
publicPath: '/_next',
|
|
||||||
name: 'static/media/[name].[hash].[ext]',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
})
|
|
||||||
|
|
||||||
config.module.rules.push({
|
config.module.rules.push({
|
||||||
test: /\.svg$/,
|
test: /\.svg$/,
|
||||||
use: ['@svgr/webpack'],
|
use: ['@svgr/webpack'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user