Skip to content

Configuration option to permanently turn on --preserve-symlinks #8509

@AlastairTaft

Description

@AlastairTaft

Developing packages with peer dependencies is really really hard, I lose so many hours a day trying to setup my dev environment in just the right way so it works.

I've only once managed to get the NODE_PATH=./node_modules workaround working, I'm not sure why it doesn't work for me, perhaps it's to do with how I configure webpack.

That flag would save me when developing locally except it doesn't seem to work with webpack and browserify, is there anyway we can permanently configure it to on so we don't have to pass it as an argument for every node process? That way webpack and browserify would work with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.moduleIssues and PRs related to the module subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions