Marketplace móvil para negocios locales mexicanos. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React Web) - apps/mobile (Expo/React Native) - apps/mcp-server (Claude MCP Server) - apps/whatsapp-service (WhatsApp Business API) - database/ (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
41 lines
812 B
Markdown
41 lines
812 B
Markdown
# babel-plugin-syntax-hermes-parser
|
|
|
|
Hermes parser plugin for [Babel](https://babeljs.io/). This plugin switches Babel to use `hermes-parser` instead of the `@babel/parser`. Since Hermes parser uses C++ compiled to WASM it is significantly faster and provides full syntax support for Flow.
|
|
|
|
## Install
|
|
|
|
Using npm:
|
|
|
|
```sh
|
|
npm install --save-dev babel-plugin-syntax-hermes-parser
|
|
```
|
|
|
|
or using yarn:
|
|
|
|
```sh
|
|
yarn add babel-plugin-syntax-hermes-parser --dev
|
|
```
|
|
|
|
# Usage
|
|
|
|
The plugin can be enabled via:
|
|
|
|
```
|
|
// babel.config.json
|
|
{
|
|
"plugins": ["babel-plugin-syntax-hermes-parser"]
|
|
}
|
|
```
|
|
|
|
If parser options need to be provide you can do so via the `parserOpts` config:
|
|
|
|
```
|
|
// babel.config.json
|
|
{
|
|
"plugins": ["babel-plugin-syntax-hermes-parser"],
|
|
"parserOpts": {
|
|
"allowReturnOutsideFunction": true
|
|
}
|
|
}
|
|
```
|