diff --git a/index.js b/index.js index 6b70f4f..3e636c4 100644 --- a/index.js +++ b/index.js @@ -94,10 +94,7 @@ module.exports = (locales, pattern, buildDir, opts) => { }).then(newLocaleMaps => { return Promise.all( locales.map(locale => { - // If the default locale, overwrite the origin file - const localeMap = locale === defaultLocale - ? merge(oldLocaleMaps[locale], newLocaleMaps[locale]) - : merge(newLocaleMaps[locale], oldLocaleMaps[locale]) + const localeMap = merge(newLocaleMaps[locale], oldLocaleMaps[locale]) const outputPath = path.resolve(buildDir, locale)