Skip to content

resolveOnly option prevent local file resolution #209

Closed
@arantes555

Description

@arantes555
  • Rollup Plugin Name: node-resolve
  • Rollup Plugin Version: 7.1.0 & 7.1.1
  • Rollup Version: 1.31.0
  • Operating System (or Browser): macOS
  • Node Version: v13.7.0

How Do We Reproduce?

git clone https://github.com/arantes555/node-resolve-local-files.git
cd node-resolve-local-files
npm install
node build.js

Expected Behavior

Using node-resolve 7.1.x with the resolveOnly option should prevent resolving other node modules, but should not prevent resolving local files.

Actual Behavior

Using node-resolve 7.1.x with the resolveOnly option prevents resolving local files.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions