zamarrowski / react-ionicons

A React Ionicon component https://react-ionicons.netlify.app/
Apache License 2.0
192 stars 28 forks source link

Every icon is emitting ENOENT on webpack #78

Open Delph opened 2 years ago

Delph commented 2 years ago

Set this up for a project and I'm getting this spammed into my console for every single icon it seems;

WARNING in ./node_modules/react-ionicons/lib/WomanSharp.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'node_modules/react-ionicons/lib/WomanSharp.js.map' file: Error: ENOENT: no such file or directory, open 'node_modules/react-ionicons/lib/WomanSharp.js.map'

Standard create-react-app with TypeScript template. React 17.0.2, react-ionicons 4.2.0

kublerjeff commented 1 year ago

Yes, it seems silly, but this spam is currently leading me to remove react-ionicons from our project. It's usage precedes me and this spam is adding too much noise. Can't anything be done?