3 ms·
Step 1 - Exclude the .less and .js files that you will not be using. Step 2 - Edit or override the variable.less file. Done
by darkchasma 13y ago
Step 1 - Exclude the .less and .js files that you will not be using.
Step 2 - Edit or override the variable.less file.
Done
- lifeisstillgood 13y agoI suspect the answer is read the source, but A) how do I know what bits I will not be using B) how do the JS and LeSS files interact (can I leave out the JS as easily as the less?)
- darkchasma 13y agoIt's done intelligently, so you don't use tables, then you leave out tables.less. If you don't want tabs, then you leave out tabs.js.
- 1qaz2wsx3edc 13y agoAlso the chrome dev tools has an "Audits" tab which will reveal unused CSS rules. It's not perfect, but it gives you a good idea.