Skip to content

@tailwindcss/vite failes handling image-set() notations

Notifications You must be signed in to change notification settings

RaBic/tw4-imageset-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@tailwindcss/vite fails handling image-set() notations

when using image-set() CSS functional notations in a css file and processing them with the tailwind vite plugin,

background-image: image-set(
  url("@/assets/image1.avif") 1x,
  url("@/assets/image2.avif") 2x,
);

becomes

background-image:image-set(url(/assets/image1-xxx.avif) 1x,url(2x))

About

@tailwindcss/vite failes handling image-set() notations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published