aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-03-20 22:36:39 +0300
committerGravatar Vitaly Takmazov2023-03-21 03:11:42 +0300
commit72e075069e0f565fd2830f4a252bd8b449ef4b6b (patch)
treeb9a3a346a5e005d125a356b70691098b04b2355c /webpack.config.js
parent41260a9db066de89ccef15bc5145537d74c5bc6b (diff)
drop `file-loader`, fix Webpack assets
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 5487e690..125f8e7e 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -64,11 +64,7 @@ module.exports = () => {
],
}, {
test: /\.(png|jpe?g|gif|svg)$/i,
- use: [
- {
- loader: 'file-loader',
- },
- ],
+ type: 'asset/resource'
}]
},
plugins: [