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

fix: keep build stable when run in a different path #2040

Merged
merged 1 commit into from
May 28, 2023
Merged

fix: keep build stable when run in a different path #2040

merged 1 commit into from
May 28, 2023

Conversation

mvorisek
Copy link
Contributor

@mvorisek mvorisek commented May 7, 2023

fix #2028, full credit goes to @alexander-akait, thank you!

I have tested this fix and I can confirm the original issue is fixed with it.

@alexander-akait
Copy link

@yyx990803 this is the correct fix for stable file content

@mvorisek mvorisek mentioned this pull request May 16, 2023
@mvorisek mvorisek changed the title Fix 2028 - Build is unstable when run in a different path Fix build is unstable when run in a different path May 19, 2023
@mvorisek
Copy link
Contributor Author

Hi @sodatea, would it be possible to merge this PR, please?

@haoqunjiang
Copy link
Member

Sure.

I'm away from home today, though. I'll take a look and try to cut a new release this weekend.

@haoqunjiang haoqunjiang merged commit a81dc0f into vuejs:main May 28, 2023
@haoqunjiang haoqunjiang changed the title Fix build is unstable when run in a different path fix: keep build stable when run in a different path May 28, 2023
@mvorisek mvorisek deleted the fix_unstable_build branch May 28, 2023 08:01
@mvorisek
Copy link
Contributor Author

@sodatea the webpack 4 tests timeout for some unknown/unrelated reason, but otherwise the tests pass - can a new release be tagged?

freddy38510 pushed a commit to freddy38510/vue-loader that referenced this pull request May 28, 2023
By making the `exportHelperPath` a relative path so that the generated code is consistent.
@haoqunjiang
Copy link
Member

Fixed and released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build is unstable when project is build in a different path
3 participants