-
https://github.com/babel/ember-cli-babel/issues/170#issue-246272427
> The [`import` statement](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import) supports importin…
-
#### Current Behavior
I tried to import ReactPlayer to my react rails app. I added the line below:
`import ReactPlayer from 'react-player'` and the page cannot be loaded. I saw the error below in…
-
I'm using Theme UI with the pragma set in `.babelrc` like this:
```json
{
"presets": [["next/babel", {
"preset-react": {
"pragma": "jsx"
}
}]],
"plugins": [
[
…
-
* `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…
-
Hi, thx for your work, the dashboard looks great and I'm very eager to try it :)
upon trying to install I'm getting errors.. here's the log from terminal:
yarn install v1.15.2
[1/4] 🔍 Resolvin…
-
This project is a great idea.
But have you thought about using babel instead of sweet.js ?
I assume most people who use react also use babel.
So it would be easier to adopt as a depedecy.
Just like…
-
This can be done either via babel-macros (would work with CRA out of the box, might be harder) or with babel transforms (might be easier).
-
We are using ICU message format in our JSON files, and thus using the babel macros exported by `react-i18next/icu.macro` (`Trans` (different), `Select`, `SelectOrdinal`, `Plural`).
https://react.i18n…
-
- "codegen.macro": "^1.0.0",
- node -v: v9.11.1
- yarn -v: 1.3.2
I'm generating variables so that my colleague who doesn't know how to code can write simple code now.
[💖this part has n…
-
**Description:**
We get many questions about build tooling and I think we could reduce the confusion around this by improving our docs.
1. The `css-prop.mdx` document is still focused on the old…