summaryrefslogtreecommitdiffstats
path: root/webpack.common.js
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-02-14 14:05:15 +0100
committerLouis Chemineau <louis@chmn.me>2022-02-14 14:50:09 +0100
commit99570df60a92fe4e46be8390e1321fa3743cbf7d (patch)
tree4bc14a266ab1f2a80a5c1269a296baf524b396fb /webpack.common.js
parent8df703ae51e9d450aca1d34f54bed7783ae23b6a (diff)
downloadnextcloud-server-99570df60a92fe4e46be8390e1321fa3743cbf7d.tar.gz
nextcloud-server-99570df60a92fe4e46be8390e1321fa3743cbf7d.zip
Use asset-loader instead of url-loader
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/webpack.common.js b/webpack.common.js
index 373d18422f8..3cae88369f7 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -109,10 +109,7 @@ module.exports = {
},
{
test: /\.(png|jpe?g|gif|svg|woff2?|eot|ttf)$/,
- loader: 'url-loader',
- options: {
- name: '[name].[ext]?[hash]',
- },
+ type: 'asset/inline',
},
{
test: /\.handlebars/,