awesome-svelte icon indicating copy to clipboard operation
awesome-svelte copied to clipboard

Add svelte-css-short-name-preprocess

Open Naararouter opened this issue 3 years ago • 2 comments

I haven't met the package like this before in Svelte community. Believe, it should be useful for production optimizations.

Naararouter avatar Jun 24 '21 18:06 Naararouter

The length of CSS selectors does not have a major effect on performance, even if they wanted to reduce the length of the css classes, they could use the cssHash in the svelte compiler.

TheComputerM avatar Jun 24 '21 19:06 TheComputerM

This package doesn't affect svelte auto-generated class names, what a purpose for cssHash complier option, as I can see by doc. This is mostly about custom css class names, probably, provided by some css frameworks and etc.

Naararouter avatar Jun 25 '21 06:06 Naararouter