Spaces:
Sleeping
Sleeping
Download frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/lib/index.js from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/c9f908872ebbec3c4fa1392419c0f6cd3750ddb3/frontend/node_modules/%40svgr/babel-plugin-remove-jsx-empty-expression/lib/index.js
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@c9f908872ebbec3c4fa1392419c0f6cd3750ddb3/frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/lib/index.js
-
curl -L -o index.js https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/c9f908872ebbec3c4fa1392419c0f6cd3750ddb3/frontend/node_modules/%40svgr/babel-plugin-remove-jsx-empty-expression/lib/index.js
330 Bytes
| ; | |
| exports.__esModule = true; | |
| exports.default = void 0; | |
| const removeJSXEmptyExpression = () => ({ | |
| visitor: { | |
| JSXExpressionContainer(path) { | |
| if (!path.get('expression').isJSXEmptyExpression()) return; | |
| path.remove(); | |
| } | |
| } | |
| }); | |
| var _default = removeJSXEmptyExpression; | |
| exports.default = _default; |