react-md-editor icon indicating copy to clipboard operation
react-md-editor copied to clipboard

Remove browserslist "not dead" from package.json in v3.3.3

Open saran13raj opened this issue 2 years ago • 5 comments

Hi @jaywcjlove, we are restricted to use v3.3.3 because of react version and loader issues. But when we make a build of our CRA app we get into a build error caused by borwserslist

ERROR in ./node_modules/@uiw/react-md-editor/lib/esm/components/Toolbar/index.css (./node_modules/css-loader/dist/cjs.js??ref--5-2!./node_modules/postcss-loader/src??ref--5-3!./node_modules/@uiw/react-md-editor/lib/esm/components/Toolbar/index.css)
    Module build failed (from ./node_modules/postcss-loader/src/index.js):
    BrowserslistError: Unknown browser query `dead`

We found that removing "not dead" from browsers list fixed the issue. Can we remove "browserslist": {} from package.json for this specific version or you could create a patch version fix for this?

saran13raj avatar Oct 31 '22 07:10 saran13raj