js-rules-engine
js-rules-engine copied to clipboard
Console warnings "Failed to parse source map" Error: ENOENT: no such file or directory
Describe the Issue
When using the library in a Create React App typescript application, the webpack console throws 12 warnings for the package pertaining to source maps no existing for the package.
Expected behavior
Package can be used in create react app without complaining about the lack of source maps.
Steps to Reproduce
npm install -g create-react-app --template typescript
npx create-react-app my-app
cd my-app
npm install js-rules-engine
//add an import to the app.tsx for the package.
//example:
// import { Rule } from 'js-rules-engine';
// const rule = new Rule();
npm start
//console should displays warnings
Other Information
package versions:
"js-rules-engine": "^1.1.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", "typescript": "^4.8.4",