DeMoorJasper / parcel-plugin-imagemin

Parcel image minification plugin
MIT License
129 stars 7 forks source link

Plugin causes Error on production build: "Cannot find module 'ihem'" #95

Closed skoshx closed 4 years ago

skoshx commented 4 years ago

Hello, I tried using this plugin, but when i pushed to production, and navigated off the main page (eg. to /pages), and refreshed the page, I got this error.

Uncaught (in promise) Error: Cannot find module 'ihem'

I have absolutely NO idea how to fix it since it doesn't show where the error stems from.

joshbedo commented 4 years ago

yeah this project looks broken

DeMoorJasper commented 4 years ago

I have no clue why this happens can't reproduce it. Updated dependencies, maybe this fixes it.

There's tests for this project that pass... so feel free to fix this instead of being negative and profiteering from voluntary open source maintainers @joshbedo