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

Add the message in BabelLoaderError's stack trace #499

Merged
merged 2 commits into from
Aug 18, 2017
Merged

Add the message in BabelLoaderError's stack trace #499

merged 2 commits into from
Aug 18, 2017

Commits on Aug 11, 2017

  1. Add the message in BabelLoaderError's stack trace

    When Error.captureStackTrace is called at the top of BabelLoaderError,
    the error name and message are not added to the stack property. When
    webpack wraps this in a ModuleBuildError, the message is lost.
    
    Capturing at the end of the function ensures the message is part of the
    stack trace, so it is eventually added to webpack's output.
    jennings committed Aug 11, 2017
    Configuration menu
    Copy the full SHA
    7fd59be View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2017

  1. Configuration menu
    Copy the full SHA
    1f5513a View commit details
    Browse the repository at this point in the history