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

Preserve line numbers #6

Open
cspotcode opened this issue Jul 3, 2019 · 1 comment
Open

Preserve line numbers #6

cspotcode opened this issue Jul 3, 2019 · 1 comment

Comments

@cspotcode
Copy link

If shebang loader leaves a blank line where the shebang used to be, then line numbers will not change. This means sourcemaps -- if they exist -- will still be valid.

@cspotcode
Copy link
Author

Along with this, shebang-loader should pass through a sourcemap if it's passed one. I don't think webpack does this automatically on behalf of the loader, though I could be wrong about that.

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