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

Use webpack's built in dynamic public path setting #12848

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

rtibbles
Copy link
Member

Summary

Webpack 5 introduced built in capability to set the webpack public path dynamically, to allow proper loading of code splitting, and non-inlined assets.
We couldn't use this, as it wasn't compatible with IE11, but since dropping support we can.
Removes an unused IE11 shim in the frontend also.

References

Fixes #9062

Reviewer guidance

Nothing should be different behaviour wise as a result of this. Best things to check are places where we have large assets that should be loaded separately, ensuring they are still loaded as intended.

Turn off pathinfo which we deliberately turned off for development, but accidentally left enabled for production, which is not recommended.
@github-actions github-actions bot added DEV: frontend DEV: tools Internal tooling for development labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEV: frontend DEV: tools Internal tooling for development
Projects
None yet
1 participant