Skip to content

Commit 6a9c053

Browse files
committed
simplify config entry
1 parent e562062 commit 6a9c053

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

webpack.config.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,10 @@ module.exports = {
7171
// riot-web/webapp/i18n during build by copy-res.js
7272
test: /\.*languages.json$/,
7373
type: "javascript/auto",
74-
use: [
75-
{
76-
loader: 'file-loader',
77-
options: {
78-
name: 'i18n/[name].[hash:7].[ext]',
79-
},
80-
},
81-
],
74+
loader: 'file-loader',
75+
options: {
76+
name: 'i18n/[name].[hash:7].[ext]',
77+
},
8278
},
8379
{
8480
test: /\.(gif|png|svg|ttf|xml|ico)$/,

0 commit comments

Comments
 (0)