3

I've recently discovered Magepack. It's a really good tool for Magento 2 JS bundling and it gives us a much better Google Pagespeed score than Baler which I'm using.

I was able to install Magepack on a Magento default instance and I'm planning to use it for my clients, but I'm hesitant to do so as I'm not sure if it's stable to be on production yet.

Has anyone been using Magepack on production? Is that worth using it comparing to Baler?

Thanks

3
  • I am using Magepack in production with no problems, I can recommend it.
    – paj
    Aug 18, 2020 at 14:09
  • Hi Paj, Thanks for your reply. Is that ok for you to share the client site storefront URL so I can test how good Magepack is on production?
    – Toan Tam
    Aug 19, 2020 at 2:40
  • Has anyone implemented magepack on magento 2 cloud?
    – Haritha
    Jun 22, 2021 at 15:49

4 Answers 4

0

I found the answer myself by applying Magepack to our merchants. I have applied Magepack on the following sites so far and they are happy with the speed.

  1. https://medmartonline.com/ (Magento Cloud instance)
  2. https://www.headcovers.com/

I recommend all Magento sites to apply Magepack to speed the frontend JS loading up.

3
  • Have you implemented magepack on magento 2 cloud?
    – Haritha
    Jun 22, 2021 at 15:49
  • @Toean Tam could you tell me one thing? Do you push to the repo only magepack.config.js and then on production, or you just to run magepack generate --cms-url="production_url" on product env?
    – GieDe
    Jan 12, 2023 at 17:07
  • 1
    @GieDe, Yes, I committed magepack.config.js to the repo and on the deployment pine line, I only run the magepack bundle command. Please help to vote for the answer if that helps you. Thanks!
    – Toan Tam
    Jan 13, 2023 at 9:28
0

https://www.nkd.com/ (Commerce Cloud)

https://www.haar-shop.ch/ (OS)

https://haka.com/ (Commerce on premise)

1
  • Have you implemented magepack on magento 2 cloud?
    – Haritha
    Jun 22, 2021 at 15:49
0

To install magepack on adobe(magento) cloud , follow below steps,

found .magento.app.yaml file in root folder and edit in build hooks section as,

set -e composer install unset NPM_CONFIG_PREFIX curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" nvm install --lts=erbium npm install -g magepack php ./vendor/bin/ece-tools build:generate magepack bundle php ./vendor/bin/ece-tools build:transfer

0

hooks: build: | set -e composer install unset NPM_CONFIG_PREFIX curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" nvm install --lts=erbium

npm install -g gulp-cli

(cd ./app/design/frontend/Fluid/blank/ && npm install && gulp)

npm install magepack -g php ./vendor/bin/ece-tools build:generate magepack bundle php ./vendor/bin/ece-tools build:transfer

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.