From c1e0af60f3db17b0fc97fbae1aebb5320dd22d27 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 21 Mar 2023 03:41:24 +0300 Subject: vnext: file-loader -> asset modules --- vnext/server/webpack.config.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'vnext/server') diff --git a/vnext/server/webpack.config.js b/vnext/server/webpack.config.js index 364f4414..d898c796 100644 --- a/vnext/server/webpack.config.js +++ b/vnext/server/webpack.config.js @@ -28,11 +28,7 @@ module.exports = () => { loader: 'babel-loader' }, { test: /\.(png|jpe?g|gif|svg)$/i, - use: [ - { - loader: 'file-loader', - }, - ], + type: 'asset/resource' }] }, plugins: [ -- cgit v1.2.3