about summary refs log tree commit diff
path: root/config/webpack/generateLocalePacks.js
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-06-06 10:56:36 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-06 03:56:36 +0200
commit7a7bfa5170605710fb2506ad714b134c9e45206f (patch)
tree4e15099f433ed0bbf9b921328bf50854ee2a441a /config/webpack/generateLocalePacks.js
parente969c7864529900ebb106769883000cbe8752ec9 (diff)
Add quotes ESLint rules (#3602)
* Add quotes ESLint rule

* Add jsx-quotes ESlint rule

* Sort ESLint rules
Diffstat (limited to 'config/webpack/generateLocalePacks.js')
-rw-r--r--config/webpack/generateLocalePacks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack/generateLocalePacks.js b/config/webpack/generateLocalePacks.js
index 10a66e994..b71cf2ade 100644
--- a/config/webpack/generateLocalePacks.js
+++ b/config/webpack/generateLocalePacks.js
@@ -30,7 +30,7 @@ locales.forEach(locale => {
     // then check locales/locale-data
     `../../app/javascript/mastodon/locales/locale-data/${baseLocale}.js`,
     // fall back to English (this is what react-intl does anyway)
-    `../../node_modules/react-intl/locale-data/en.js`,
+    '../../node_modules/react-intl/locale-data/en.js',
   ].filter(filename => fs.existsSync(path.join(outPath, filename)))
     .map(filename => filename.replace(/..\/..\/node_modules\//, ''))[0];