Download react-boilerplate/babel.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 674 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-boilerplate/babel.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/react-boilerplate/babel.config.js
-
curl -L -o babel.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-boilerplate/babel.config.js
674 Bytes
| module.exports = { | |
| presets: [ | |
| [ | |
| '@babel/preset-env', | |
| { | |
| modules: false, | |
| }, | |
| ], | |
| '@babel/preset-react', | |
| ], | |
| plugins: [ | |
| 'styled-components', | |
| '@babel/plugin-proposal-class-properties', | |
| '@babel/plugin-syntax-dynamic-import', | |
| ], | |
| env: { | |
| production: { | |
| only: ['app'], | |
| plugins: [ | |
| 'lodash', | |
| 'transform-react-remove-prop-types', | |
| '@babel/plugin-transform-react-inline-elements', | |
| '@babel/plugin-transform-react-constant-elements', | |
| ], | |
| }, | |
| test: { | |
| plugins: [ | |
| '@babel/plugin-transform-modules-commonjs', | |
| 'dynamic-import-node', | |
| ], | |
| }, | |
| }, | |
| }; | |