Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolveOnly option prevent local file resolution #209

Closed
arantes555 opened this issue Feb 13, 2020 · 2 comments
Closed

resolveOnly option prevent local file resolution #209

arantes555 opened this issue Feb 13, 2020 · 2 comments

Comments

@arantes555
Copy link

  • 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.

@shellscape shellscape changed the title node-resolve 7.1.x breaks resolving for local files when using "resolveOnly" resolveOnly option prevent local file resolution Feb 13, 2020
@shellscape
Copy link
Collaborator

Thanks for reporting the issue. We'd be happy to review a PR that resolves this.

@shellscape
Copy link
Collaborator

Closed by #337

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants