diff options
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/server/webpack.config.js | 6 | ||||
-rw-r--r-- | vnext/webpack.config.js | 6 |
2 files changed, 2 insertions, 10 deletions
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: [ diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index 47bf98f9..65f2aad6 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -63,11 +63,7 @@ module.exports = () => { ], }, { test: /\.(png|jpe?g|gif|svg)$/i, - use: [ - { - loader: 'file-loader', - }, - ], + type: 'asset/resource' }] }, plugins: [ |