Using svg-pan-zoom from es6 with webpack -


how can use svg-pan-zoom es6 webpack? tried this:

import {svgpanzoom} '../node_modules/svg-pan-zoom/src/svg-pan-zoom.js; 

but svgpanzoom undefined. tried simply:

import * svg_pan_zoom 'svg-pan-zoom'; 

but svg-pan-zoom set {};


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -