generator icon indicating copy to clipboard operation
generator copied to clipboard

Generate different files for different prefix

Open proyb6 opened this issue 8 years ago • 2 comments

Could allow us to generate different CSS files that won't need to deliver all vendor prefixes if I'm using Chrome, there is no need for IE, Webkit and Firefox prefix, this help reduce files size.

Perhaps, a simple browser detection in our Javascript should deliver the CSS with vendors specific and full CSS for unknown web browser agent.

proyb6 avatar Nov 02 '17 16:11 proyb6

Having different builds for different vendor prefix sets is a great idea! I do think we should handle this on the configuration level though, so you can create multiple builds with different prefixing schemes (which the server can dynamically route to).

johno avatar Nov 03 '17 03:11 johno

Good idea and how fast does the web browsers detect user agent if we're looking at performance? I've not experiment it before.

proyb6 avatar Nov 18 '17 00:11 proyb6