Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

zone.js loaded by twice, by two separate sources #910

Description

@umairda

I built a JS widget using angular 2 that is embedded on other websites. One of the sites that the widget is embedded on has another script that loads zone.js. So when my script loads I get the error:

Error: Zone already loaded. at new g...

Is there a way to configure angular-cli (1.0.0-rc.0)/webpack to not load zone.js if it has previously been loaded?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions