We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d89d6e2 commit 4a16e7fCopy full SHA for 4a16e7f
.changeset/many-items-greet.md
@@ -0,0 +1,5 @@
1
+---
2
+'@sveltejs/enhanced-img': patch
3
4
+
5
+fix(perf): correctly apply id filter from vite-plugin-svelte
packages/enhanced-img/src/vite-plugin.js
@@ -39,7 +39,7 @@ export function image_plugin(imagetools_plugin) {
39
);
40
}
41
// @ts-expect-error plugin.transform is defined below before configResolved is called
42
- plugin.transform.filter.id = svelteConfigPlugin.api.idFilter;
+ plugin.transform.filter.id = svelteConfigPlugin.api.idFilter.id;
43
},
44
transform: {
45
order: 'pre', // puts it before vite-plugin-svelte:compile
0 commit comments