Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
@W-15907094@ Refactor /mobify paths #1824
@W-15907094@ Refactor /mobify paths #1824
Changes from all commits
6ebab46
392d9f8
1fa3fb7
c293289
f0bc6a8
7c01ae7
e7a5564
0aeb2e2
fc2a9b0
07b4e16
eebe2b1
06505ba
43c3a6d
91db50e
8694c86
a075a77
5b20384
66ebd4b
88240a6
49c8bd3
5459dd1
f90922a
039a660
69b9031
8fca554
8253e68
a39c65f
5b5fd53
849a2b8
bdafdc9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I think we previously may have had a discussion about changing the name of this variable. It's 2024 we should definitely not be using "mobify" for any new variables in our code.
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.
How are we expecting that this value is configured. I imagine that we would require this to be configurable if it was changed in the rest of the application?
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.
Follow up discussion happened in Slack convos but to summarize, we will not make the '/mobify' part configurable for now as there are places in MRT that also are looking explicitly for the '/mobify' path
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.
This is one of the notable changes in this PR. Rather than hard coding
/mobify/bundle/development
for HMR, the publicPath is now dynamically being set via a new entry point before main.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.
Technically a breaking change. Is there a way that we could NOT a breaking change?
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.
I restored the constants that I removed and annotated them with a
@deprecated
. Let me know if this works