-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Description
I'm trying to install and use jquery.maphilight through NPM and Webpack.
I'm requiring jQuery and maphilight in my package.json.
In my js file I do:
var jQuery = require("jquery");
require('maphilight');But then $('.mymap').maphilight() doesn't work.
I tried to find out what's going on here. I found that typeof $.fn.maphilight === 'function' is false. I also found that the jQuery object that is being passed to the maphilight factory is not the same object as my jQuery object in my javascript file.
How can I get maphilight to work within my setup?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels