-
Notifications
You must be signed in to change notification settings - Fork 915
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
Build is unstable when project is build in a different path #2028
Comments
@alexander-akait do you have an idea how to fix it or is a webpack issue instead? |
Oh, missed your issue (not sure how it happens), give me time to look |
There is a small bug - https://github.com/vuejs/vue-loader/blob/main/src/index.ts#L285, it should be: code += `\n\nimport exportComponent from ${stringifyRequest(exportHelperPath)}`; and https://github.com/vuejs/vue-loader/blob/main/src/index.ts#LL47C1-L47C75, should be: const exportHelperPath = require.resolve('./exportHelper');
|
This happened because you have |
https://github.com/atk4/ui/blob/dedb4cea3191e45ba2334ad48c0f98c6d25edf32/.github/workflows/test-unit.yml#L344 hack is needed to make babel build stable, otherwise a variable name in the resulting build is containing the resolved local path, making the build unstable
how to reproduce:
npm run build
The text was updated successfully, but these errors were encountered: