On 2026-06-18 2:53 PM, Gordon Messmer wrote:
I had hoped that it would be possible to strip binaries from undici's dependencies and use "npm rebuild"  in the %build section to rebuild dependencies, but no such luck.


... or maybe it would be? I forgot that you would need to run "npm rebuild" both in the %build section after node_modules_prod was extracted and again in %check after node_modules_dev was extracted:

https://codeberg.org/gordonmessmer/nodejs-undici/compare/rawhide...strip-node-modules

But, as I said before... this will require *some* more native packages, especially for things like rollup. And while I've added node_modules stripping to the "sources.sh" script here for the purpose of testing and discussion, it almost certainly belongs in the nodejs-packaging-bundler script.

--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to