Babel Macro
Aperta
discussion
enhancement
good first issue
help wanted
proposal
- Lingua principale
- JavaScript
- Stelle
- 9k
- Fork
- 181
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
It would be nice to have a babel macro that automatically runs the babel plugin to remove the runtime. That way, this project would work out of the box with "zero" config tools like create-react-app.
I'm thinking it could be something like:
```js
import {html} from 'htm/preact/macro'
```
This is similar conceptually to CSS-IN-JS libraries providing a macro for their tools. See https://emotion.sh/docs/babel-macros
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.