fix(webpack): switch to wp-5 assets

This commit is contained in:
Sarah Vaupel 2022-04-22 13:48:02 +02:00
parent 4027f3144b
commit ec4d710ce0

View File

@ -98,15 +98,7 @@ async function webpackConfig() {
},
{
test: /\.(woff(2)?|ttf|eot|svg)(\?.*)?$/i,
use: [
{
loader: 'file-loader',
options: {
name: '[contenthash].[ext]',
esModule: false
}
}
]
type: 'asset'
}
]
},