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

npm run build-module is generating different output every time it's run #374

Open
petemill opened this issue May 21, 2024 · 1 comment
Open
Assignees

Comments

@petemill
Copy link
Member

petemill commented May 21, 2024

The content from npm run build-module should be the same. It seems it isn't due to the use of temp directories to perform some compilation and then bundling. Ideally we should either not use temp directories (and keep the path constant) or tell its bundler to ignore the temp directory path part of each module's name when bundling, like we can with webpack (by providing it a context path).

This issue is causing a build problem when needing intel and arm resources for Brave on macos to be identical brave/brave-browser#38435

@dev-priyanshu15
Copy link

can i work on this issue please assign this to me

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

No branches or pull requests

2 participants