react-code-dataset / wp-calypso /babel.config.js
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
const path = require( 'path' );
const babelConfig = require( '@automattic/calypso-babel-config' );
// We implicitly use browserslist configuration in package.json for build targets.
module.exports = babelConfig( {
isBrowser: process.env.BROWSERSLIST_ENV !== 'server',
outputPOT: path.join( __dirname, 'build/i18n-calypso/' ),
importSource: '@emotion/react',
} );