furf/jquery-ui-touch-punch

How to use ui-touch-punch to webpack

Opened this issue · 1 comments

I have some trable this plugin unload in webpack.
my script in module imports:

let $ = require('jquery'); require ('jquery-ui'); require ('jquery-ui-touch-punch');

in browser i have this error:

Uncaught TypeError: Cannot read property 'prototype' of undefined
at eval (jquery.ui.touch-punch.js:19)

RWAP commented

Which version of jquery is this - that might be the problem. Otherwise try my branch - https://github.com/RWAP/jquery-ui-touch-punch