✌️
This commit is contained in:
@ -42,7 +42,7 @@ const langs = Object.keys(locales);
|
||||
|
||||
const entries = process.env.NODE_ENV == 'production'
|
||||
? langs.map(l => [l, false]).concat(langs.map(l => [l, true]))
|
||||
: [['ja', false]];
|
||||
: langs.map(l => [l, false]);
|
||||
|
||||
module.exports = entries.map(x => {
|
||||
const [lang, isProduction] = x;
|
||||
@ -144,7 +144,8 @@ module.exports = entries.map(x => {
|
||||
query: {
|
||||
search: i18nReplacer.pattern.toString(),
|
||||
replace: 'i18nReplacement',
|
||||
i18n: true
|
||||
i18n: true,
|
||||
lang
|
||||
}
|
||||
}, {
|
||||
loader: 'replace',
|
||||
@ -216,7 +217,8 @@ module.exports = entries.map(x => {
|
||||
query: {
|
||||
search: i18nReplacer.pattern.toString(),
|
||||
replace: 'i18nReplacement',
|
||||
i18n: true
|
||||
i18n: true,
|
||||
lang
|
||||
}
|
||||
}, {
|
||||
loader: 'replace',
|
||||
|
Reference in New Issue
Block a user