#pre-bundling dependencies of linked monorepo package

1 messages · Page 1 of 1 (latest)

spark meadow
#

I have a Monorepo with package A and I am doing a dynamic import of package B or C depending on page being displayed (micro-frontend pattern).

How can I get dependencies of packages B and C pre-bundled, not package B or C pre-bundled, as I still want to benefit from HMR?

still axle
#

If I understand correctly what you are asking, it sounds like you probably have to install those dependencies into your monorepo in order for HMR to work

spark meadow