-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
WIP: Bump webpack to v5 (fixes #2050) #2066
Conversation
Thanks a lot Flaviu! I'm happily surprised that there are no config changes needed for webpack, looks quite straightforward. A few small remarks:
EDIT: or is the upgrade of karma needed to get the integration tests running? |
It was, I think the github ui just didn't do a very good job making it clear.
I went through and bumped everything webpack related up--but it turns out that |
Ah, now I see, you're right I see all except one of the CI tests are green. Only "Browser testing locally / browser-tests (pull_request)" gives an error. The logs say:
Which is just odd. When I run
Any ideas? |
Maybe we're hitting this issue: codymikol/karma-webpack#431 |
Yup, I've had some free time lately. No promises though--fixing issues arising from dependencies 5 levels down gets frustrating quickly :) |
Thanks @flaviut. Yes this stuff can be very frustrating indeed!! |
@flaviut just to be sure you're aware of it: you can run those browser tests locally via:
|
Yup! I've been doing a bit of both—local tests, and in CI in order to make
sure the issues aren't just my local configuration being messed up.
If you're getting spammed by emails, I think you can unsubscribe to this PR
to get them to stop. I can email you (rather than post on GitHub) when this
is ready and you can take a look.
…On Sun, Feb 7, 2021, 16:04 Jos de Jong ***@***.***> wrote:
@flaviut <https://github.com/flaviut> just to be sure you're aware of it:
you can run those browser tests locally via:
npm run test:browser
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2066 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHY2HJTDWTPS4Y47UO7GKLS5354JANCNFSM4VDNVTNA>
.
|
Imports are required to be done a little differently, and there needs to be a "type: module" in the package.json
This appears to be superseded by a later PR, as mathjs@11.0.1 does use webpack 5. If you agree, feel free to close or let me know to. |
Yes 🎉 this has been addressed (it required to drop IE11 support) |
Imports are required to be done a little differently, and there needs to be a "type: module" in the package.json