Currently this plugin doesn't work when the SVG path needs to be resolved by other plugins, as resolveId would append the default path.
By using this.resolve, rollup would let other plugins such as alias or node-resolve to resolve the proper id/path first, then svelteSVG can append .svelte to it.
Currently this plugin doesn't work when the SVG path needs to be resolved by other plugins, as resolveId would append the default path.
By using
this.resolve
, rollup would let other plugins such asalias
ornode-resolve
to resolve the proper id/path first, then svelteSVG can append.svelte
to it.