Questions tagged [jsbundling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
67 views

Getting Error: Error: Build file build.js is malformed: TypeError: {(intermediate value)} is not a function at build.createConfig (r.js:29289:23)

I am working on Advance JS bundling by following the below documentation: https://experienceleague.adobe.com/docs/commerce-operations/performance-best-practices/performance-best-practices/advanced-js-...
Abhinav's user avatar
  • 23
1 vote
1 answer
701 views

Magepack Bundle Console Error On Magento 2.4.4

After upgrading from 2.4.3-p1 to 2.4.4, the following error shows up in the console: Uncaught Error: Mismatched anonymous define() module: function( $ ) { I've traced the error back to the generated /...
SNAFU's user avatar
  • 176
0 votes
2 answers
701 views

Magento 2.4.2 - JS bundling not working

I have enabled the Javascript bundling, however, it doesn't seem to work properly. I can see the bundles are being created in pub/static/vendor/theme/en_GB/js: However, the bundles are not being ...
Greg's user avatar
  • 2,919
0 votes
1 answer
13 views

What information can bundling give me about a bug?

I have an issue (caused by one of my modules) that only appears when in production mode, when the javascript files have been bundled. I disabled bundling and the issue does not persist in production ...
Hurrpadurr's user avatar
2 votes
2 answers
480 views

What is javascript minification and bundling of files in Magento?

What is javascript minification and bundling of files in Magento? Should I enable javascript minfication and bundling for my Magento 2 website ?
Parbat Singh's user avatar
0 votes
1 answer
604 views

Fotorama Gallery JS Errors With Magepack JS Bundling Enabled

We are using Magepack on a Magento v2.3.5-p2 website for JS bundling. See below: https://github.com/magesuite/magepack If we enable magepack JS bundling using the Luma or Blank theme it works fine ...
Ryan Copeland's user avatar
3 votes
3 answers
1k views

Has anyone been using Magepack on production?

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 ...
Toan Tam's user avatar
  • 1,308
1 vote
0 answers
84 views

Overriding core user data files for Magepack

We are working on getting Magepack installed on our dev environment. One of the shims we had to fix was in the "customer-data.js". It works when we edit the core file(vendor/magento/module-...
Stech's user avatar
  • 89
1 vote
1 answer
2k views

How to use Baler for JS bundling on Magento Cloud?

Baler is great for JS bundling comparing to default JS bundling. It's hard to apply it to a Magento Cloud instance as Magento Cloud is a read-only system. So we can't run npm command directly via SSH ...
Toan Tam's user avatar
  • 1,308
1 vote
1 answer
1k views

Magento 2 - advanced JS bundling mixins

I followed this answer to enable JS bundling with success - Magento 2 Advanced Js Bundling. However when I go to checkout, I get JS errors in console. When in developer mode everything is ok. Even in ...
user72296's user avatar
0 votes
0 answers
180 views

IE 11 out of stack space issue es6-collections js with advanced bundling

We have enabled advanced JS bundling on magento 2.2.7. It works well in all browsers except IE11. On IE11, it throws the following error on browser console. Error Message : Out of stack space file :...
Manaf P M's user avatar
  • 223
3 votes
0 answers
2k views

Advanced JS Bundling - What to include/exclude

So, I've been doing an advanced js bundling for my website and I've read a lot of information about it. I've decided to use m2 dev tools to help me do it, however, I've some doubts with the result I ...
Tiago Costa's user avatar
2 votes
1 answer
186 views

magento 2 too many js call inspite of bundling

i have enabled production mode and bundling also yet i am seeing to many js file call aroun 120 plus that is causing issue with load time
user1799722's user avatar
1 vote
0 answers
138 views

Advance bundle js : Magento 2

i have implemented advance bundle js in magento2 all good but when i go to checkout page and change country no shipping method change. then i debug the issue the issue comes when we enable bundling ...
imtiazau's user avatar
  • 379
0 votes
1 answer
180 views

Magento 2 enable merging/bundling after AdvancedJS Bundling

I have recently applied AdvancedJS Bundling on my Magento 2 store, and the performance is quite improved. But for Advanced JS Bundling, the merging, and bundling is disabled. Can I enable that also ...
Arsalan Ul Haq's user avatar
1 vote
0 answers
242 views

JS Bundling causing loading spinner issues in IE11 checkout - Magento 2

Have tried to use Magento 2's JS bundling and am running into a strange error on IE 11 only. When proceeding to the checkout the loading spinner will not disappear. The page seems to load correctly in ...
scmgv's user avatar
  • 11
4 votes
1 answer
81 views

What exactly is Dependency Injection in Magento?

I'm learning Magento 2 and couldn't able to understand some of the below things Dependency Injection Javascript bundling (Because some suggest to enable and some don't) Third party module override ...
Siva's user avatar
  • 1,120
10 votes
2 answers
8k views

Magento 2 Advanced Js Bundling

Can anyone work on Advanced JS Bundling? We would like to apply this concept to one of our client projects. Could you please explain about Advanced JavaScript bundling in detailed step by step &...
Nagaraju Kasa's user avatar