Skip to content

[beta.1] Error bundling using SystemJS Builder in Beta.1 #6366

Closed

Description

@antonybudianto

Hi, I just updated my starter project to angular2.0.0@beta.1 and when running in development, it was okay, but when I run production build and serve it, it showed error as follows:
screen shot 2016-01-09 at 6 46 17 am
It's not happening in angular2.0.0@beta.0

you can reproduce it by cloning my repo using repro-mangle-error branch, then run gulp serve-build

I'm using SystemJS builder for bundling, thanks!

Activity

  1. antonybudianto commented on Jan 9, 2016

    @antonybudianto
    Author

    Finally getting it to work, I had to set mangle: false in SystemJS Builder options. But then the boot.js size becomes ~957 KB, which in beta.0 (that works without mangle) size ~650 KB...
    screen shot 2016-01-09 at 7 30 11 am

  2. changed the title [-]Error bundling in Beta.1[/-] [+]Error bundling using SystemJS Builder in Beta.1[/+] on Jan 9, 2016
  3. changed the title [-]Error bundling using SystemJS Builder in Beta.1[/-] [+][beta.1] Error bundling using SystemJS Builder in Beta.1[/+] on Jan 10, 2016
  4. antonybudianto commented on Jan 10, 2016

    @antonybudianto
    Author

    Found something interesting here
    screen shot 2016-01-10 at 3 14 34 pm

    Looks like there's a bug in the viewFactory, this didn't happen in beta.0 (dev & build), and only didn't happen in beta.1 when dev, but broken when build (with mangle: true).

  5. pkozlowski-opensource commented on Jan 18, 2016

    @pkozlowski-opensource
    Member

    Duplicate of #6380

  6. antonybudianto commented on Jan 18, 2016

    @antonybudianto
    Author

    but the 2nd picture is no duplicate issue I think

  7. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  8. locked and limited conversation to collaborators on Sep 7, 2019
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