qrcode-generator icon indicating copy to clipboard operation
qrcode-generator copied to clipboard

Package canvg dependency.

Open ddscentral opened this issue 1 year ago • 0 comments

I probably am a little bit old-school but I'd rather have the complete distributable in a single place instead of relying on external sources.

You have a line in index.html

import { Canvg } from 'https://cdn.skypack.dev/canvg@^4.0.0'

Since you already have qrcode lib included in the repo, it would be a good idea to also include the canvg lib. This way, the application would be completely self-contained. canvg can be downloaded from npm and packed easily using esbuild or any other bundler tool of your choice.

ddscentral avatar Jun 25 '24 15:06 ddscentral