aboutsummaryrefslogtreecommitdiff
path: root/vnext/server
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-03-21 03:41:24 +0300
committerGravatar Vitaly Takmazov2023-03-21 03:41:24 +0300
commitc1e0af60f3db17b0fc97fbae1aebb5320dd22d27 (patch)
tree4bdf7bd6fea8dc72060f09b8ea0d6357078d1246 /vnext/server
parent6400e90fdd6983b26b0258f30940cd1a4b78e50c (diff)
vnext: file-loader -> asset modules
Diffstat (limited to 'vnext/server')
-rw-r--r--vnext/server/webpack.config.js6
1 files changed, 1 insertions, 5 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: [