forked from matrix/element-web
simplify config entry
This commit is contained in:
parent
e56206241b
commit
6a9c053536
|
@ -71,14 +71,10 @@ module.exports = {
|
||||||
// riot-web/webapp/i18n during build by copy-res.js
|
// riot-web/webapp/i18n during build by copy-res.js
|
||||||
test: /\.*languages.json$/,
|
test: /\.*languages.json$/,
|
||||||
type: "javascript/auto",
|
type: "javascript/auto",
|
||||||
use: [
|
loader: 'file-loader',
|
||||||
{
|
options: {
|
||||||
loader: 'file-loader',
|
name: 'i18n/[name].[hash:7].[ext]',
|
||||||
options: {
|
},
|
||||||
name: 'i18n/[name].[hash:7].[ext]',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(gif|png|svg|ttf|xml|ico)$/,
|
test: /\.(gif|png|svg|ttf|xml|ico)$/,
|
||||||
|
|
Loading…
Reference in New Issue