Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > IExperimentsJson > forbidPhantomResolvableNodeModulesFolders

IExperimentsJson.forbidPhantomResolvableNodeModulesFolders property

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

If true, Rush will not allow node_modules in the repo folder or in parent folders.

Signature:

forbidPhantomResolvableNodeModulesFolders?: boolean;