unbuild icon indicating copy to clipboard operation
unbuild copied to clipboard

Build problems with inlining external dependencies

Open pi0 opened this issue 1 year ago • 2 comments

This issue is a collective of some external packages fail to be properly bundled with rollup.

More investigation is needed to see if any bug is related to them and if it is unbuilt or not.

[!NOTE] This issue is not a tracker for the (intentional) "Inlined implicit external" warning, if you have a case that is wrongly reported please consider reporting a new issue with reproduction. 🙏🏼

### Tasks
- [ ] https://github.com/unjs/unbuild/issues/132
- [ ] https://github.com/unjs/unbuild/issues/97

pi0 avatar Dec 27 '24 14:12 pi0

I hope this is the correct issue, but I saw that undici is also identified as external dependency and is therefore inlined: image ... image

itpropro avatar Jan 02 '25 17:01 itpropro

@itpropro it is not. If you explicitly enabled rollup.inlineDependencies or uncidi is in either dependencier, peerDependencies, or optionalDependencies it shouldn't happen, if it does please consider sharing a reproduction 🙏🏼

pi0 avatar Jan 02 '25 23:01 pi0