react-hammerjs icon indicating copy to clipboard operation
react-hammerjs copied to clipboard

After i build my react18-typescript project it says "require is not defined" in the browser preview

Open JayashTripathy opened this issue 2 years ago • 2 comments

"esModuleInterop": true, is enabled in my tsconfig

image image

in development it is working file but after i build the application it gives this reference error please help!

@JedWatson

JayashTripathy avatar Aug 02 '23 18:08 JayashTripathy

me too

quanleio avatar Oct 23 '23 05:10 quanleio

seems like its no longer maintained, useGestures is a better alternative

JayashTripathy avatar Nov 01 '23 04:11 JayashTripathy