You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use the below .babelrc. I'm having trouble understanding what gets replaced by switching to esbuild. Just following the basic craco replacements doesn't work for me. I immediately run into:
Expected "from" but found "{"
Which I suspect might be a different issue than babel, possibly cause we're using flow and we import types, e.g. import type { GlobalStore } from "app/redux".
This plugin is replacing babel with esbuild, meaning that your babel config will not be used at all. At the current moment, esbuild only supports typescript and it doesn't seem that they are planning to support it at some point evanw/esbuild#79.
We use the below .babelrc. I'm having trouble understanding what gets replaced by switching to
esbuild
. Just following the basiccraco
replacements doesn't work for me. I immediately run into:Which I suspect might be a different issue than
babel
, possibly cause we're usingflow
and we import types, e.g.import type { GlobalStore } from "app/redux"
.Any help to further understand this migration would be great!
The text was updated successfully, but these errors were encountered: