Repository navigation
Conversation
| const remoteName = `${ForkedRemotePrefix}${ | ||
| head.gitHubRepository.owner.login | ||
| ) | ||
| }` |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@shiftkey This is the second runtime issue due to incorrectly minified code, right? #4848 being the first one. I think we need to seriously consider downgrading whatever needs downgrading to get rid of this problem. We need to be able to trust that our code gets transpiled and minified correctly. Have you isolated what's causing the problem? If it's uglify-es then could we get around it by turning the babel minifier back on (and eating the compile time cost)? |
| const remoteName = forkPullRequestRemoteName( | ||
| head.gitHubRepository.owner.login | ||
| ) | ||
| const remoteName = ForkedRemotePrefix + head.gitHubRepository.owner.login |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Yep. The timelines for both fit with the upgrade to Webpack 4.
The last time I looked at this with #2531 it was a challenge to get an isolated repro away from the Desktop source - I'm happy to try this again tomorrow if you don't have bandwidth.
I'm fine with this workaround if we can't currently trust the emitted minified code. |
|
🍎 |
|
I've opened a branch off |
|
Closing this in favour of #4871 |
Fixes #4842
Before:
masterwithyarn build:prodandyarn start:prodSpelunk down to find the underlying JS:
After:
yarn build:prodandyarn start:prodThis is now the underlying JS: