Skip to content

IE11, ECMAScript Object property assignment problem #706

@rcanpahali

Description

@rcanpahali

Hello,
On the PROD, Internet Explorer 11 doesn't work properly. I'm not having any issue when im working on localhost, but after i publish my app to PROD it gives me error below:

    SCRIPT1003: Expected ':'
    main-client.js (559,109)

I investigated to main-client.js, I found this:

    Pr={"ɵdefineBase":defineBase,
    "ɵdefineComponent":defineComponent,
    "ɵdefineDirective":H,
    defineInjectable, ## This is line:559 and column:109 ##

defineInjectable need to be "defineInjectable": defineInjectable. I've tested this in IE11 developer tool with following example,
c = 3; d=4; values = {a:1, b:2, c, d} output is: Expected ':'

But this is what IE11 wants:
c = 3; d=4; values = {a:1, b:2, c:c, d:d} outpus is: OK

Is it related with webpack? Any solution for this?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions