feature requesthelp wanted
Description
Bug report
Expected behaviour
Expecting the library to load correctly
Actual behaviour
In a webpack environment (https://github.com/SimulatedGREG/electron-vue), the library doesn't load with either import or require
import:

require:

Steps to reproduce the behaviour
- Clone the repo (https://github.com/SimulatedGREG/electron-vue)
- Install library via npm
- Insert div#drawing element
- Add the following code
import svgPanZoom from 'svg-pan-zoom';
svgPanZoom('#drawing');
Configuration
- svg-pan-zoom version:
3.5.3 - Browser(s):
chrome/electron - Operating system(s):
W10
Thanks