Closed samtsai closed 3 years ago
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 https://github.com/evanw/esbuild/issues/79.
Closing the issue, feel free to reopen if you still have questions
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!