magesuite / magepack

Next generation Magento 2 advanced JavaScript bundler.
Open Software License 3.0
431 stars 93 forks source link

cms pages allows generate zero items #156

Closed AlaaL closed 1 year ago

AlaaL commented 1 year ago

When using magepack generate on our site it generate items for product, category, checkout, common, but nothing for cms. This is the command I am using

>magepack generate --cms-url="https://lelas.net/tr/" --category-url="https://lelas.net/tr/prime-collection.html" --product-url="https://lelas.net/tr/fancy-fence-eau-de-parfum-55-ml-1.html" --debug

I also tried without locale like https://lelas.net and tried another cms page like contact us or privacy policy it gives the same result.

image

Quazz commented 1 year ago

For most CMS pages all the JS they use will be in "common". (loaded on every page)

CMS bundle is JS found only on CMS pages.