Closed p24-max closed 2 years ago
i have the same issue, any solution?
Same here.
The issue should be tied to https://www.javascripttutorial.net/es-next/javascript-optional-chaining-operator/ if some new module uses the new javascript feature, the magepack does not properly read it.
This should be fixed by updating the terser package to the newest version which is done here: https://github.com/magesuite/magepack/commit/b96eeccd3605d6fcfac8d4cc26445c3b0072990f This is merged into the master branch but no release yet for it for us to use.
Do we know when b96eeccd3605d6fcfac8d4cc26445c3b0072990f is going to be in a release? @krzksz
@krzksz May I know when the fixes of this issue will get released? We're facing that issue on our live websites, and need to disable bundling due to that. The solution needed urgently.
I'm also facing same issue. please help
same here... would be great if there is a new release ...
The command
magepack bundle --minify -d
fails with the following error:When I execute the command without
--minify
option, it works well. Any idea how to fix this?