How to export all the names of a package that is used in a package in development?

For example, I am developing a new package called PkgB and PkgA is used in it. I want to export all the names form PkgA to the outside of PkgB so that the users of PkgB can directly invoke the names from PkgA without using PkgA in their code. How should I write in PkgB.jl?

I’m not sure whether this kind of requirement is meaningful or recommendable. :thinking:

You’re looking for Reexport.jl.


That is it. Thanks!

1 Like