Skip to content

Production fail to run at IE11 #354

Closed

Description

@ibufu

I have added shims_for_ie.js,and succeed with development at IE 11.
But it failed when js was uglified at IE 11.
There are some information at console:

DEPRECATION WARNING: 'enqueueTask' is no longer supported and will be removed in next major release. Use addTask/addRepeatingTask/addMicroTask
EXCEPTION: SyntaxError: missing';'
STACKTRACE:
SyntaxError: missing';'
at evalExpression (http://127.0.0.1:8080/main.2e1e8eaffec3e4f2c80a.bundle.js:1:3162)
at TemplateCompiler.prototype._createViewFactoryRuntime (http://127.0.0.1:8080/main.2e1e8eaffec3e4f2c80a.bundle.js:12:6980)
at Anonymous function (http://127.0.0.1:8080/main.2e1e8eaffec3e4f2c80a.bundle.js:12:4627)
at e.prototype.run (http://127.0.0.1:8080/vendor.9ec096512d74b8c635f1.bundle.js:4:21917)
at Anonymous function (http://127.0.0.1:8080/main.2e1e8eaffec3e4f2c80a.bundle.js:9:2178)
at Anonymous function (http://127.0.0.1:8080/vendor.9ec096512d74b8c635f1.bundle.js:4:21582)
at z (http://127.0.0.1:8080/vendor.9ec096512d74b8c635f1.bundle.js:4:16342)
at A (http://127.0.0.1:8080/vendor.9ec096512d74b8c635f1.bundle.js:4:16430)
at Anonymous function (http://127.0.0.1:8080/vendor.9ec096512d74b8c635f1.bundle.js:4:19934)
at Anonymous function (http://127.0.0.1:8080/vendor.9ec096512d74b8c635f1.bundle.js:4:14103)
SyntaxError: missing ';'
DEPRECATION WARNING: 'dequeueTask' is no longer supported and will be removed in next major release. Use removeTask/removeRepeatingTask/removeMicroTask

Activity

  1. ibufu commented on Feb 24, 2016

    @ibufu
    Author

    I am using the latest angular2-webpack-starter,but just change name of polyfills.ts to vendor.ts

  2. changed the title [-]production fail to run at IE11()[/-] [+]production fail to run at IE11[/+] on Feb 24, 2016
  3. changed the title [-]production fail to run at IE11[/-] [+]Production fail to run at IE11[/+] on Feb 25, 2016
  4. e-oz commented on Mar 3, 2016

    @e-oz
  5. ibufu commented on Mar 4, 2016

    @ibufu
    Author

    @e-oz
    thx, but I had seen the #6501, and used the shime for IE.then, it succeed to run at IE.But, it failed when js were uglified

  6. e-oz commented on Mar 4, 2016

    @e-oz

    @ibufu there is a pull request linked to that task, and it works (tested).

  7. ibufu commented on Mar 4, 2016

    @ibufu
    Author

    @e-oz Did you uglify JS?

  8. reopened this on Mar 4, 2016
  9. wkwiatek commented on Mar 4, 2016

    @wkwiatek

    The problem is related to mangling. Try to add mangle: false to uglify config.

  10. e-oz commented on Mar 4, 2016

    @e-oz

    @Morning yes

    On Fri, 4 Mar 2016 at 13:30, Wojciech Kwiatek notifications@github.com
    wrote:

    The problem is related to mangling. Try to add mangle: false to uglify
    config.

    —
    Reply to this email directly or view it on GitHub
    #354 (comment)
    .

  11. PatrickJS commented on Mar 13, 2016

    @PatrickJS
    Owner

    I updated the repo and included ie-shim there may also be problems with the Angular 2 repo and there is currently production issues with uglify. You can open another issue if you still have the problem

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions