Download wp-calypso/babel.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 368 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/babel.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/babel.config.js
-
curl -L -o babel.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/babel.config.js
368 Bytes
| 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', | |
| } ); | |