Questions tagged [advanced-bundling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
56 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
0 votes
1 answer
509 views

Magento 2.4.2: SyntaxError: Unexpected token: name (url)

I'm following the instructions to get advanced JS bundling done. I have been doing this over a year without much difficulty. This time around, I find the error below and I would like to know if there ...
CodeForGood's user avatar
0 votes
1 answer
179 views

Magento 2.4.1: Uncaught Error: [object Object] at Object.<anonymous> (default.js:8474)

The error as the post title appears in the cart page. default.js is the bundle that I created with advanced JS bundling. You can see that this is where the error has originated from. When looking at ...
CodeForGood's user avatar
0 votes
1 answer
571 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
2 votes
0 answers
254 views

How do I create a symlink?

We recently setup CDN for the static assets. As an old discussion on the github indicates, advanced JS bundling and CDN don't go together. What is happening is explained below. require.js is trying to ...
CodeForGood's user avatar
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
0 votes
1 answer
150 views

Magento 2.3.4 Advanced JS Bundling: Should a `deps` node entry within a `shim` node be copied into `deps` module in the build.js file?

My store's requirejs-config.js has an entry for shim node as seen in the code snippet below, that includes an entry for deps node as well. I wonder if I should copy this deps node entry to the ...
CodeForGood's user avatar
0 votes
0 answers
62 views

Advanced JS bundling: Some dependencies already included under certain JS Bundle are loading separately

I am facing an issue with some dependencies that were already included in some bundle are loading separately as seen in the browser console. Could you please share yours insights into this? Please ...
CodeForGood's user avatar
0 votes
1 answer
770 views

magento 2 checkout page shipping address validation not working after applying advanced js bundling

I have applied advanced js bundling. Everything works fine except shipping address validation on the checkout page. After applying bundling checkout page shipping address validation is not working ...
Ashar Riaz's user avatar
  • 1,025