JedWatson / react-hammerjs

ReactJS / HammerJS integration. Support touch events in your React app.
MIT License
937 stars 128 forks source link

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

Open JayashTripathy opened 1 year ago

JayashTripathy commented 1 year ago

"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

quanleio commented 11 months ago

me too

JayashTripathy commented 10 months ago

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