From 6a9c053536e7d4e1f95da7ca00f6b7be2f7388ac Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 20 Feb 2019 09:39:42 +0100 Subject: [PATCH] simplify config entry --- webpack.config.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index c3d85caf..70ef0574 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -71,14 +71,10 @@ module.exports = { // riot-web/webapp/i18n during build by copy-res.js test: /\.*languages.json$/, type: "javascript/auto", - use: [ - { - loader: 'file-loader', - options: { - name: 'i18n/[name].[hash:7].[ext]', - }, - }, - ], + loader: 'file-loader', + options: { + name: 'i18n/[name].[hash:7].[ext]', + }, }, { test: /\.(gif|png|svg|ttf|xml|ico)$/,