This fixes the AMD definition of the SvgPath dependency "./SvgPath" which is currently relative and breaks if you try to use svg2pdfs.js with ES2015 style imports. The CommonJS definition is correct and unaltered.
Longer term might it be worth letting the build tool add the UMD wrapper?
This fixes the AMD definition of the SvgPath dependency "./SvgPath" which is currently relative and breaks if you try to use svg2pdfs.js with ES2015 style imports. The CommonJS definition is correct and unaltered.
Longer term might it be worth letting the build tool add the UMD wrapper?