Skip to content

Commit

Permalink
feat(.babelrc): support multiline in ttag
Browse files Browse the repository at this point in the history
  • Loading branch information
ulayab committed Jan 23, 2021
1 parent 22c3ad2 commit 0be1cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .babelrc.js
Expand Up @@ -19,7 +19,7 @@ module.exports = {
"@babel/plugin-proposal-class-properties", // ttag extraction & resolve needs it, even though it's included in next/babel...
"@babel/plugin-proposal-optional-chaining",
[ // Need to be put last so that it can replace all strings
'ttag', {resolve: {translations: `i18n/${process.env.LOCALE || 'en_US'}.po`}}
'ttag', {resolve: {translations: `i18n/${process.env.LOCALE || 'en_US'}.po`}, dedent: true,}
],
]
}

0 comments on commit 0be1cfa

Please sign in to comment.