mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 08:55:56 +02:00
✌️
This commit is contained in:
@@ -40,8 +40,12 @@ global['base64replacement'] = (_, key) => {
|
||||
|
||||
const langs = Object.keys(locales);
|
||||
|
||||
// 無圧縮スクリプトを用意するのは重いので一時的に無効化
|
||||
//const entries = process.env.NODE_ENV == 'production'
|
||||
// ? langs.map(l => [l, false]).concat(langs.map(l => [l, true]))
|
||||
// : langs.map(l => [l, false]);
|
||||
const entries = process.env.NODE_ENV == 'production'
|
||||
? langs.map(l => [l, false]).concat(langs.map(l => [l, true]))
|
||||
? langs.map(l => [l, true])
|
||||
: langs.map(l => [l, false]);
|
||||
|
||||
module.exports = entries.map(x => {
|
||||
|
||||
Reference in New Issue
Block a user