I try to optimize the bundles of magento with the information from devdocs . I try to do it on Magento 2.2.6 but the main issue is that after generating the bundles I get an error from the customer-data regarding
TypeError: $.cookieStorage is undefined; can't access its "setConf" property
Did anyone had this error?
After some more investigation looks like this error comes from
jquery/jquery.storageapi.min strange think is that only when trying to do it as suggested on Magento Devdocs https://devdocs.magento.com/guides/v2.3/performance-best-practices/advanced-js-bundling.html