Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chaosue
Copy link

@chaosue chaosue commented Feb 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant