Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'extend' is not exported by node_modules/@svgdotjs/svg.js/dist/svg.min.js
- https://rollupjs.org/guide/en#error-name-is-not-exported-by-module-
- import { Svg, on, off, extend, Matrix, Box } from '@svgdotjs/svg.js'
- // this line is ok and is working
- import SVG from '@svgdotjs/svg.js/src/svg.js';
- // this line gives the error
- import '@svgdotjs/svg.panzoom.js/src/svg.panzoom.js';
Add Comment
Please, Sign In to add comment