#global types on a workspace with microfrontendds

6 messages · Page 1 of 1 (latest)

cursive parcel
#

Hey guys, I have a workspace of like 4-5 different microfrontends is there anyway to have a global types package that I can refer to? like I've got so many common types but not sure how to make them global across other frontends

graceful ermine
#

Sure, though it will depend a bit on your environment and what specifically you’re looking for. Is this one package or multiple? If a monorepo, what tooling are you using to manage it (npm workspaces, Nx, etc)? Do you want the types available ambiently in the global scope, or do you want to be importing these types?

cursive parcel
graceful ermine
cursive parcel
graceful ermine