We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
findFirstLineBreakOutsideComment
v3.1.0
macOS
v16.17.1
https://github.com/Silic0nS0ldier/rollup-bug-20221014
Build completes
Build stalls, and never finishes.
The text was updated successfully, but these errors were encountered:
Issues appear to have occurred in this same area in the past. #3067
Some extra info.
Original source
#!/usr/bin/env node import "source-map-support/register.js"; async function main() { } main();
What is passed into findFirstLineBreakOutsideComment
#!/usr/bin/env node
Sorry, something went wrong.
It is possible to workaround this by changing the import, which presumably alters the string given to findFirstLineBreakOutsideComment.
e.g.
#!/usr/bin/env node async function main() { await import("source-map-support/register.js"); } main();
Thanks for the issue and the spot-on analysis! Fix at #4676.
Merge branch 'master' into gh-4672-hashbang
42f8989
This issue has been resolved via #4676 as part of rollup@3.2.2. You can test it via npm install rollup.
npm install rollup
lukastaegert
Successfully merging a pull request may close this issue.
Rollup Version
v3.1.0
Operating System (or Browser)
macOS
Node Version (if applicable)
v16.17.1
Link To Reproduction
https://github.com/Silic0nS0ldier/rollup-bug-20221014
Expected Behaviour
Build completes
Actual Behaviour
Build stalls, and never finishes.
The text was updated successfully, but these errors were encountered: