fix(docs): use `require.resolve` to ensure Yarn PnP compatibility
fix(docs): use `require.resolve` to ensure Yarn PnP compatibility

`@babel/plugin-transform-react-jsx` should be resolved in the context
of `addon-docs` and not in the one of SB user projects (as it's done
for the others loaders too). The goal of that is to ensure we are using
a deps that is properly declared either as dep or peerDep

storybooks/storybook,storybooks/storybook,kadirahq/react-storybook,storybooks/storybook,storybooks/storybook,storybooks/storybook,storybooks/react-storybook,kadirahq/react-storybook,storybooks/react-storybook,storybooks/storybook,storybooks/react-storybook,storybooks/storybook,storybooks/react-storybook