I added this line to my view.xml file.
<exclude> <item type="directory">Lib::knockoutjs</item> <item type="directory">Lib::knockoutjs/kockout</item> </exclude>
After that I ran the following commands
php bin/magento setup:di:compile php bin/magento cache:flush bin/magento setup:static-content:deploy
But when I visit the site again, I'm still seeings files like knockout.min.js being loaded. The full path to the knockoutjs directory is the following. What am I doing wrong?