Skip to content

Shadow CLJS does not follow standard node_module resolution #547

@Ionshard

Description

@Ionshard

Shadow CLJS assumes that all npm dependencies are installed in ./node_modules/ but according to this guide, Node will actually climb the directory hierarchy when attempting to resolve modules.

This means Shadow CLJS can't benefit from things like hoisting.

For my case I am trying to utilize lerna now that we can use a standard package.json for our CLJS application in our monorepo.

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