coc-react-refactor
coc-react-refactor copied to clipboard
Doesn't work with external browserslist definition
I got a project where in package.json we have a "browserslist": "extends @someorg/browserslist-config"
definition.
coc-react-refactor dies with Error: Cannot find module '@someorg/browserslist-config'
. I assume this has to do with the bundling strategy of using webpack for the package.
Encountered a similar issue with Next.js, this is how it was solved there: https://github.com/vercel/next.js/pull/33890