Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Codekit, LESS CSS, Which files to upload?

Tags:

css

less

codekit

So I'm using Codekit to compile LESS CSS on my local server. Now I need to transfer the files to my live server.

My question is, do I need to upload all the .less files? Or can I just upload the minified css file?

What is the best practice here?

like image 598
Ben Avatar asked Mar 25 '26 00:03

Ben


1 Answers

If you don't plan on editing anything on your live server (which you shouldn't anyway), you only need to upload the compiled .css file; the compiled CSS is completely independent of the source LESS.

like image 62
Bojangles Avatar answered Mar 26 '26 14:03

Bojangles



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!