Donaldcwl / browser-image-compression

Image compression in web browser
MIT License
1.3k stars 160 forks source link

Why there is a network request to 'cdn.jsdelivr.net'? #225

Open aidscooler opened 1 month ago

aidscooler commented 1 month ago

I've installed browser-image-compression in my project which is powered by vitepress and I can find 'browser-image-compression.js' in the path 'node-modules/browser-image-compression/dist/', why there is still a network request to 'https://cdn.jsdelivr.net/npm/browser-image-compression@2.0.2/dist/browser-image-compression.js'? Here is how I import browser-image-compression: