Closed coderjinhui closed 1 month ago
Hmm, good catch @coderjinhui
I think the dependencies aren't modelled properly. All dependencies are only devDependencies
which isn't correct. Since we took over the plugin from Ryan Murphy who started the plugin, we never questioned the dependencies as it always worked. But in many cases, the project using the plugin had already defined the dependency to Babel. Could be also related to yarn which handles the devDeps a bit more strict.
We'll investigate! Thx for reporting...
Hi,
I meet the problem when using the babel preset. here is the code:
And when compile the code, it shows error:
And I double confirmed the package, it already in the dependency in package.json file.
BTW, We use the yarn pnp mode as the package manager.