Next.js Discord

Discord Forum

@vercel/ncc and package version controlling in depenendent

Unanswered
Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
Hi Team,

Wanted to ask a very common scenario which happens with every framework, need to know the market-standard solution for it.

Problem Statement: I have internal (in-house) built framework which is based on micro-frontend architecture.
Recently, what happened was somehow internal dependency of any package got updated (like babel -> babel/cli got upgraded to highger version which has some change which is not yet supported by our code n we don't have control over nested dependency upgrade) due to this sub-apps which were using this in-house framework starts failing because everywhere in package.json framework was added as dependency.


Need to know what's the best measure or solution to control this?


i tried looking into @vercel/ncc , but if anyone has tried this please share your valuable inputs.

0 Replies