JohnPremKumar / vite-plugin-favicons-inject

A Vite plugin for creating and injecting favicons during the application build!
MIT License
10 stars 3 forks source link

Extra backslash after build the project #13

Closed LeonardoPizzoquero closed 1 year ago

LeonardoPizzoquero commented 1 year ago

I'm having a problem after the build, the favicon's are generated correctly, but in the src of them, an extra backslash can be found. I am only using the path param for the logo, but this extra backslash does not load the favicon when the website load. Can you help me?

image

Below is the vite.config.ts

image

LeonardoPizzoquero commented 1 year ago

I resolved the issue by replacing the back slash of the response of favicons library:

image