From ec4d710ce0a5429160365397ad17c23b71c0a4cf Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Fri, 22 Apr 2022 13:48:02 +0200 Subject: [PATCH] fix(webpack): switch to wp-5 assets --- webpack.config.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index f6c33b782..a0510d9e4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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' } ] },