feat: add i18n pipeline tools

This commit is contained in:
Adam Butterworth
2019-09-17 11:37:26 -04:00
parent afe6705ba5
commit 94b3f19ed5
13 changed files with 118 additions and 12 deletions

View File

@@ -13,6 +13,17 @@ module.exports = {
'@babel/plugin-proposal-class-properties',
],
env: {
i18n: {
plugins: [
[
'react-intl',
{
messagesDir: './temp/babel-plugin-react-intl',
moduleSourceName: '@edx/frontend-i18n',
},
],
],
},
test: {
presets: [
'@babel/preset-env',