-
Notifications
You must be signed in to change notification settings - Fork 536
fix(plus): fix use sp3 #13205
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(plus): fix use sp3 #13205
Conversation
this got broken in 4256f47
Bundle StatsHey there, this message comes from a github action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
@@ -65,7 +65,7 @@ export const PLACEMENT_ENABLED = Boolean( | |||
export const MDN_PLUS_SUBSCRIBE_URL_SP3_BASE = | |||
process.env.REACT_APP_MDN_PLUS_SUBSCRIBE_URL_SP3_BASE; | |||
export const MDN_PLUS_USE_SP3 = Boolean( | |||
JSON.parse(process.env.REACT_APP_MDN_PLUS_USE_SP3 || "false") | |||
JSON.parse(MDN_PLUS_SUBSCRIBE_URL_SP3_BASE || "false") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Leo's intent was to use a separate environment variable to switch to SP3, rather than deriving this from MDN_PLUS_SUBSCRIBE_URL_SP3_BASE
.
So in that sense we should set REACT_APP_MDN_PLUS_USE_SP3=true
in {prod,stage}-build
instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can do this as a follow up. I just want to get this out.
Summary
USE_SP3
should be base onMDN_PLUS_SUBSCRIBE_URL_SP3_BASE
this got broken in 4256f47