@svelte-put/preprocess-inline-svg
GithubCompatible with or powered directly by Svelte runes.
Migration to @svelte-put/inline-svg
Make sure you have version 4 of @svelte-put/inline-svg installed:
npm install --save-dev @svelte-put/inline-svgpnpm add -D @svelte-put/inline-svgyarn add -D @svelte-put/inline-svgSimply update the import path of the preprocessor in your svelte.config.js:
import inlineSvg from '@svelte-put/preprocess-inline-svg';
import inlineSvg from '@svelte-put/inline-svg/preprocessor';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [
inlineSvg(/** truncated config */),
// other preprocessors
],
};
export default config;Happy migrating 😅