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

Two upper-dirs added to the output #4033

Closed
StreetStrider opened this issue Apr 1, 2021 · 1 comment
Closed

Two upper-dirs added to the output #4033

StreetStrider opened this issue Apr 1, 2021 · 1 comment

Comments

@StreetStrider
Copy link

  • Rollup Version: 2.44.0
  • Operating System (or Browser): GNU/Linux
  • Node Version (if applicable): v12.19.1
  • Link to reproduction (IMPORTANT, read below): rollup-issue-updirs.zip

Rollup appends two ../ to the import of import … from '../'. I've discovered this with package self-reference. Given package.json is present (see my repro) this path should be the same in the output. However, two additional up-dirs were added. I think this is related to core and not node-resolve, so I put this issue here.

Expected Behavior

I have proper paths in output when I make build.

Actual Behavior

I have wrong path when I build.

@StreetStrider
Copy link
Author

StreetStrider commented Jul 3, 2021

I've re-checked this with 2.52.7 and issue is still present. Can somebody check this? Is my ticket correct @lukastaegert?

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

No branches or pull requests

1 participant