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

Not working with Webpack v5.24 #2855

Closed
rafaucau opened this issue Feb 25, 2021 · 2 comments · Fixed by #3135
Closed

Not working with Webpack v5.24 #2855

rafaucau opened this issue Feb 25, 2021 · 2 comments · Fixed by #3135

Comments

@rafaucau
Copy link
Contributor

I have been using Webpack 5.21 so far, but after updating the dependencies using npm update my extensions stopped working. There are no build errors.
When the webpack version is 5.24.2, then this error occurs in the browser console after build:
image
image
The error points to a random extension.

I have npm v7.5.6 and node.js v14.16.0

Rollback to Webpack v5.21 helps.

@askvortsov1
Copy link
Sponsor Member

This is an issue with core's compilation process; see https://github.com/flarum/core/tree/as/support-webpack-5.

@davwheat davwheat transferred this issue from flarum/flarum-webpack-config May 11, 2021
@davwheat
Copy link
Member

This should be fixed by #2845

@davwheat davwheat linked a pull request May 11, 2021 that will close this issue
4 tasks
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 a pull request may close this issue.

3 participants