Closed nmahser closed 3 months ago
@nmahser If you are webpack, you can add this configuration.
@nmahser
You can remove the warning by adding GENERATE_SOURCEMAP=false
to your .env file
Actually, CRA with Webpack 5.x cause it. They are working on resolving (https://github.com/facebook/create-react-app/pull/11752)
"scripts": {
"start": "GENERATE_SOURCEMAP=false && react-scripts start",
Thanks!
Description
When building a React project using react-md-editor, webpack emits warnings about missing source map files for the parse5 package, a dependency of hast-util-raw. This occurs despite a successful installation.
Steps to Reproduce
create-react-app
and include react-md-editor as a dependency.npm run build
Environment
Error and Warning messages in the console:
package.json:
Part of package-lock.json: