Skip to content

Использование локальных пакетов #2

@belozer

Description

@belozer
Promise.all([
    readDir(path.join(cwd, 'node_modules')),
    readDir(path.join(cwd, 'node_modules', 'bem-tools', 'node_modules')),
    readDir(path.join(__dirname, 'node_modules')),
    readDir(path.join(__dirname, 'node_modules', 'bem-tools', 'node_modules')),
    readDir(npmRootPath),
    readDir(path.join(npmRootPath, 'bem-tools', 'node_modules'))
])

Почему бы не добавить ещё и директорию bem-tools на уровне проекта?

project/bem-tools/bem-tools-build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions