This way any non-predefined value just defaults to the defaultImport.
Returning undefined isn't really helping the user in any case and probably locks out any legacy svg imports that would like to use vite-svg-loader but cant change their query params because of backwards compatibility.
This way any non-predefined value just defaults to the defaultImport. Returning undefined isn't really helping the user in any case and probably locks out any legacy svg imports that would like to use vite-svg-loader but cant change their query params because of backwards compatibility.
resolves https://github.com/jpkleemans/vite-svg-loader/issues/99