-
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. …
-
Consider the following babel plugin config:
```js
babel: {
plugins: [
[require.resolve('some-thing-here'), { option: true }, 'something-here:true'],
]
}
```
We cannot use the utili…
-
This is the code we have to write in transformer to generate `let Foo;`:
```rs
let kind = VariableDeclarationKind::Let;
let declarations = {
let ident = BindingIdentifier::new(SPAN, name.clo…
-
After i fix the module not found 'fs' error now i get this error
`./node_modules/babel-plugin-macros/dist/index.js:9:0
Module not found: Can't resolve 'path'`
-
Hey folks! I am getting this message when building/running dev 🤔 do you know why I am seeing this?
```
There was an error trying to load the config "tailwind" for the macro imported from "tailwin…
-
Sorry if this has been brought up somewhere before.
Would you consider using [`babel-plugin-macros`](https://github.com/kentcdodds/babel-plugin-macros) for `babel-plugin-fbt`? It looks like a good f…
-
* `babel-plugin-macros` version: 2.5.1
Relevant code or config
```javascript
import * as foo from 'foo.macro'
```
What happened:
Compiler fails with the following message
```
./src/App.j…
-
*This issue is a draft and is still being updated*
### Features
- [ ] Support `self` variable (#164)
- [ ] Support loop filtering (#261)
- [ ] Support loop controls (e.g. `break` / `continue`)…
-
From **babel-plugin-styled-components@.>=2.0.0** onwards,
using the **css prop** with **babel macros** as described in the docs is no more working:
https://styled-components.com/docs/api#usage-with-…
-
**Is your feature request related to a problem? Please describe.**
Investigate https://github.com/leoasis/graphql-tag.macro as proposed by @Apollinaire
It replaces `gql` tags at build time using Ba…