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
Rollup adds two upper dirs in the output #4349
Comments
there's a couple things not quite right with the repro, although there seems to be a bug nonetheless. depending on what your issue is referring to:
the actual bug seems to be that the file resolution for going to the parent folder is [not always] working: import foo2 from '..' // works
import foo2 from '../' // does not work, works in node.js
import foo2 from '../.' // does not work, works in node.js
import foo2 from './..' // does not work, works in node.js
import foo2 from './../' // does not work, works in node.js
import foo2 from './../.' // does not work, works in node.js not sure [yet] if the issue is with |
@dnalborczyk I see your confusion, I'll try to put more details. My only issue is two upper dirs added. I'm not using Sorry, I put no details initially because I was trying to follow template. My previous ticket #4033 was just ignored. I think that is because it was not following the template (despite the fact the ticket was created before introduction of the template). I also have ticket in rollup/plugins#959 with The issue is clearly with Rollup core, because my repro not using any plugins (intentionally) and the bug is there. |
I'll have to check how the mechanics work.
I don' think anyone purposely ignored your issue 😄 it's just that no one has gotten to it [yet]. |
@dnalborczyk you know, sometimes this might happen. When project sets up a specific issue template they often ignore non-formal issues as a measure to keep tracker in order (to motivate people to follow the template). My ticket may got into shadow zone close to the date when form was introduced but not yet and may be ignored as a result of new policy applied to older ticket. (my guess) |
Sometimes there are just a lot of issues and we as we have very few people available, issues that seem very edge case or non-critical can seem to be ignored in favour of more critical ones that affect more users etc. This is not out of spite but out of bandwidth, and if there is no communication for some time, it likely means that this issue needs someone to drive its resolution forward actively. |
Created a fix in #4419 |
Rollup Version
2.64.0
Operating System (or Browser)
GNU/Linux
Node Version (if applicable)
v14.17.0
Link To Reproduction
https://replit.com/@StreetStrider/rollup-repro
Expected Behaviour
Output is:
Actual Behaviour
Error is:
Error: Cannot find module '../../..'
MODULE_NOT_FOUND
The text was updated successfully, but these errors were encountered: