require('dotenv').config();

// Project-wide config
//
module.exports = {
  presets: [
    [
      '@babel/preset-env',
      {
        targets: {
          node: 'current',
        },
      },
    ],
  ],
  plugins: [
    [
      'ttag',
      { resolve: { translations: `i18n/${process.env.LOCALE || 'en_US'}.po` } },
    ],
    ['module-resolver', { root: ['./'] }],
    '@babel/plugin-proposal-class-properties',
  ],
};

@@ -22,16 +22,123 @@
 fig();%0A%0A
+const locale = process.env.LOCALE %7C%7C 'en_US';%0Aconsole.log('%5Bbabel.config.js%5D building locale: ', locale);%0A%0A
 // Proje
@@ -328,28 +328,15 @@
    %5B
-%0A      
 'ttag',
-%0A     
  %7B r
@@ -371,37 +371,14 @@
 n/$%7B
-process.env.LOCALE %7C%7C 'en_US'
+locale
 %7D.po
@@ -382,22 +382,16 @@
 .po%60 %7D %7D
-,%0A    
 %5D,%0A    %5B

Print built locales