Skip to main content

@yarnpkg/pnpify/utils

Index

Functions

resolveNodeModulesPath

  • Resolves paths containing /node_modules inside PnP projects. If path is outside PnP project it is not changed.


    Parameters

    Returns ResolvedPath

    resolved path

References

patchFs

Re-exports patchFs

Type Aliases

NodeModulesFSOptions

NodeModulesFSOptions: { pnpifyFs?: boolean; realFs?: typeof fs }

Type declaration

  • optionalpnpifyFs?: boolean
  • optionalrealFs?: typeof fs