-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix website bundling and manifest generation issues #17771
Conversation
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 4e5a243010c67069e4aeef715863cf3abc9dc319 (build) |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 8d3dddd:
|
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
5102be5
to
57b980a
Compare
57b980a
to
8d3dddd
Compare
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
Fix two issues which only became obvious in the release build or on the real site, and add one minor optimization.
Previous PR accidentally broke the case where a base CDN URL is not provided to
create-site-manifests
and it should use the default instead.In #17568 I removed both the webpack config
output.publicPath
setting and the__webpack_public_path__
runtime setting, because both appeared to be unused. Turns outoutput.publicPath
was actually unused (it appears to be a relic from when the whole site was hosted on the sharepoint CDN), but setting__webpack_public_path__
is necessary to make loading chunks on the live site work since the chunk files are hosted on a different domain. So now that's back with a nice explanatory comment.The minor optimization is removing the
whatwg-fetch
polyfill from the site, since I realized it's redundant withreact-app-polyfill/ie11
which we include automatically.(part of #14691)