pydio / cells

Future-proof content collaboration platform
https://pydio.com
GNU Affero General Public License v3.0
1.77k stars 172 forks source link

webpack5 arrow function arguments compatibility of gui/core module. #532

Open chaosue opened 6 months ago

chaosue commented 6 months ago

after rebuild of gui.ajax core module pnpm run build-core-prod, the page will end up with the errors below:

图片 图片

maybe it's the same issue as of #493.

there're some explanations on https://www.ginkonote.com/users/flo/articles/migration-guide-to-webpack-5@javascript

the cause might be "arguments objects is not available in arrow function after Webpack 5+",
the packed frontend/front-srv/assets/gui.ajax/res/js/core/index.js is not evalable, so the loading of pydio.min.js by pydio.boot.in.js fails.