rollup-plugin-svelte-svg icon indicating copy to clipboard operation
rollup-plugin-svelte-svg copied to clipboard

Import SVG files as Svelte Components

Results 8 rollup-plugin-svelte-svg issues
Sort by recently updated
recently updated
newest added

This is SvelteKit: https://kit.svelte.dev/ This is my svelte.config.js file ```js import adapter from '@sveltejs/adapter-auto' import preprocess from 'svelte-preprocess' import { svelteSVG } from 'rollup-plugin-svelte-svg' /** @type {import('@sveltejs/kit').Config} */ const config...

To be able to import it in a dynamic way in order to get the name of the icon to be imported through a prop, something like this: ```js import...

help wanted
hacktoberfest

It would be cool if SVG components supported events. Right now, something like this doesn't work: ```svelte import Icon from './my-icon.svg' console.log(`hi`)} /> ``` Instead, you need to wrap the...

enhancement

What do you think of adding the ability to specify default props in the plugin settings? My use case would be ```js // rollup.config.js import svelteSVG from "rollup-plugin-svelte-svg"; const defaultProps...

I'm using Rollup and I'm getting this error: > [!] Error: Could not load /mnt/c/Users/xxx/proj/xxx/public/images/myfile.svg.rollup-plugin.svelte.rollup-plugin.svelte (imported by src/client/components/MyComponent.svelte): ENOENT: no such file or directory, open '/mnt/c/Users/xxx/proj/xxx/public/images/myfile.svg.rollup-plugin.svelte.rollup-plugin.svelte' I only load `svelteSVG`...

i have error: Sourcemap for "apps/cjmd-svelte/src/assets/logo.svg.rollup-plugin.svelte" points to missing source files but render icon correct

Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.1.1. Release notes Sourced from nth-check's releases. v2.1.1 The ESM code had some issues that are now fixed aeeb067 https://github.com/fb55/nth-check/compare/v2.1.0...v2.1.1 v2.1.0 What's Changed nth-check is...

dependencies

Just adding documentation for PR #34