Skip to content

@sentry/webpack-plugin Adds Code That Breaks Old BrowsersΒ #769

@grushetsky

Description

@grushetsky

Environment

Chromium 38, @sentry/webpack-plugin 3.5.0.

Steps to Reproduce

  1. Build the app with webpack and @sentry/webpack-plugin included in the list of plugins.
  2. Run the app in an old browser.

Expected Result

The app starts up without errors.

Actual Result

A syntax error near let keyword is thrown upon app start.

Additional Details

Sentry injects some code that has let in it. let syntax is not supported by the old browsers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions