aboutsummaryrefslogtreecommitdiff
path: root/vnext
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
parent6400e90fdd6983b26b0258f30940cd1a4b78e50c (diff)
vnext: file-loader -> asset modules
Diffstat (limited to 'vnext')
-rw-r--r--vnext/server/webpack.config.js6
-rw-r--r--vnext/webpack.config.js6
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: [