Skip to content

New other way to do the same thing directly with npm #17

Description

@rom1504

Hi,
I've been using require-self for a few years, but still found it a hack, that should be solved directly in npm.
Happy to say I think I've found a way to replace this:
for a module called myModule simply put "myModule": "file:.", in your dev dependencies.
This creates a symlink to the parent folder, the same as what require self is doing.

I think that's a good solution for the problem require-self is solving.

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