Closed lxsmnsyc closed 2 years ago
I guess I'll just close this. I checked the semver and the range is fine, but not with pnpm.
Are you saying this isn't worth doing?
@ryansolid I'm just thinking "maybe". TBF the plugin itself is bloatware
https://github.com/babel/babel/blob/master/packages/babel-plugin-syntax-jsx/src/index.js#L1-L23
@babel/plugin-syntax-jsx
has a weird semver for babel as peerDependency:@babel/core@^7.0.0-0
. It will always complain regardless of the babel version.@babel/plugin-syntax-jsx
is basically optional,'jsx'
is already built into the core and can be accessed throughparserOptions
, which is what@babel/plugin-syntax-jsx
is doing internally.