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

Do not delete "fake" source map comments from strings #9960

Merged

Commits on May 8, 2019

  1. Do not delete "fake" source map comments from strings

    Instead of using `convert-source-map`'s `removeComments` method before
    parsing the file, we can first parse the file with `@babel/parser` and then
    analyze the comments.
    This is needed because it is not possible to reliabily detect comments in
    JavaScript without fully parsing the file:
    thlorenz/convert-source-map#63
    nicolo-ribaudo committed May 8, 2019
    Copy the full SHA
    600efef View commit details
    Browse the repository at this point in the history