0

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?

/html/lib/web/knockoutjs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.