Guest User

Untitled

a guest
Feb 17th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. 'extend' is not exported by node_modules/@svgdotjs/svg.js/dist/svg.min.js
  2.  
  3. https://rollupjs.org/guide/en#error-name-is-not-exported-by-module-
  4.  
  5. import { Svg, on, off, extend, Matrix, Box } from '@svgdotjs/svg.js'
  6.  
  7. // this line is ok and is working
  8. import SVG from '@svgdotjs/svg.js/src/svg.js';
  9. // this line gives the error
  10. import '@svgdotjs/svg.panzoom.js/src/svg.panzoom.js';
Add Comment
Please, Sign In to add comment