Comments (6)
Hi @drFerg!
I really can't say why you get that warning. I can't reproduce it just by creating a brand new Svelte Kit app, and I haven't had any prior bug report like this. So unfortunately I can't get you any clues from the top of my head.
I'm guessing this has something to do with some combination of plugins and/or packages, so we'll need to investigate a bit.
- What versions are you running (Svelte, Vite, @poppanator/sveltekit-svg)
- If possible, share your config file.
- If possible, reduce the problem to an as simple as possible standalone project and create a repo for it so I can clone it.
from sveltekit-svg.
Actually, I got it myself in a project just now. I think I might have a fix for it on the way ...
from sveltekit-svg.
Alright, give v4.1.2
a shot and see if that solves the issue?
from sveltekit-svg.
Hey, thanks for that. It looks like that resolved most of the messages I was getting (about 40) - I get about 1/4 of them now. It looks like that fixed one of the branches but perhaps one of the other branches is missing it?
from sveltekit-svg.
Alright, give 4.1.3
a shot and see if that solves it.
What annoys the hell out of me is that I can't reliably reproduce it in the test-app I use, but this seemed to fix it in the real world app I have in which I could see the same warning.
from sveltekit-svg.
Feel free to reopen this issue if the problem persists @drFerg
from sveltekit-svg.
Related Issues (20)
- Use events on components HOT 3
- Modify the SVG doesn't hot reload HOT 2
- SSR true HOT 7
- Support alternative datauri encodings HOT 2
- Error: <Btn_Next> is not a valid SSR component. HOT 18
- Svelte 4 support HOT 1
- Import SVG component dynamically based on input that the component is getting HOT 2
- Using SVG as component is giving me an error? HOT 4
- Render the contents of the `<svg>` tag using `{@html}` in the component mode HOT 6
- Add a hook to allow plugin users to modify the resulting component HOT 3
- `Error: Cannot find module 'svgo'` HOT 4
- Simplify library usage for common usage HOT 7
- Get SVGSVGElement from generated component HOT 2
- Not a valid SSR component HOT 2
- PSA: css selectors that target an imported `.svg` are considered `unused` and are pruned HOT 1
- `?url` + SVGO? HOT 11
- Svelte 5 Support HOT 8
- Error: Cannot find module '@rollup/pluginutils' HOT 6
- Fails to compile in Svelte 5: "Invalid compiler option: css: "none" is no longer a valid option" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sveltekit-svg.