Skip to content

Minification causes issues #180

@WieserSoftware

Description

@WieserSoftware

Bug Report

If you try to build a release build of the react sample in Microsoft-graph-toolkit, the minification causes login not to work from this package. This would be the same with any sample that uses minification of this package.

Prerequisites

  • Can you reproduce the problem?
  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you perform a cursory search?

For more information, see the CONTRIBUTING guide.

Description

Minification causes the use of Object.name to return similar values across the project. This renders the use of that idiom ineffective.

Steps to Reproduce

  1. Start with Microsoft-graph-toolkit react sample
  2. Insert your app Id, and change provider to use msalProvider
  3. Try to login. It won't work.

Expected behavior: It should work.

Actual behavior: The minified version uses the AuthenticationProviderOptions as a TelemetryHandlerOptions.

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions