Skip to content

object: extraNodeModules and array: blockList are empty #12

@oskarhertzman

Description

@oskarhertzman

const monorepoMetroTools = getMetroTools();

When logging monorepoMetroTools, i get this:

extraNodeModules: {}, blockList: [], watchFolders: [ '/Users/oskar/Desktop/projects/app-helsingborg-guide/node_modules', '/Users/oskar/Desktop/projects/app-helsingborg-guide/cities/Helsingborg', '/Users/oskar/Desktop/projects/app-helsingborg-guide/cities/Lund', '/Users/oskar/Desktop/projects/app-helsingborg-guide/guide-app' ]

how do i get the extraNodeModules and blockList? i have tried providing current working dir with
getMetroTools( {cwd: ${[path.resolve(__dirname, "../..")][0]}}) to try to point to root dir instead, but im not sure this is correct way to do it.

Any assistance would be appreciated, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions