-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
@sveltejs/enhanced-img 0.9.0 causes build to slow down 10x #15025
Copy link
Copy link
Closed
Labels
Description
Describe the bug
Upgrading from @sveltejs/enhanced-img@0.8.5 to @sveltejs/enhanced-img@0.9.2 causes the build process to progress extremely slowly (literally from around 1 minute to 14 minutes) on a site that has hundreds of images all using <enhanced:img>. The build process especially hangs at node_modules/svelte/src/internal/client/warnings.js for several minutes.
I have tried several times now with recent sveltekit updates and have to always roll back to 0.8.5
Reproduction
Really wish I knew how to setup a repo for this, how do I install enhanced-img in sveltelab or other place with hundreds of jpg's. I expect this issue to get closed as a result but not sure how else to highlight that there is a bug in the latest update.
Logs
System Info
Ubuntu 22, Node 24, npm 11
svelte@5.45.5
@sveltejs/kit@2.49.1
@sveltejs/adapter-node@5.4.0Severity
blocking an upgrade
Additional Information
No response
Reactions are currently unavailable