Skip to content

Beta 1 breaking on production build, but working in development. #7

Closed

Description

@qdouble

Hey, I'm running into an issue since upgrading to beta 1 where it will run fine but give errors like this when doing a production build...

No provider for t! (t -> t)

I've also seen undefined errors after with another app copy...any ideas as to what may be causing this? It runs fine in beta 0 and fine in beta 1 on watch, but not build.

Activity

  1. ocombe commented on Jan 10, 2016

    @ocombe
    Collaborator

    You're right, I'll look into it, thanks a lot for the report.

    edit: it looks like it's an error with UglifyJS, without it everything works fine, you can disable to plugin until I find the fix.

  2. ocombe commented on Jan 10, 2016

    @ocombe
    Collaborator

    It looks like there's a lot of error with minified builds in beta.1:
    angular/angular#6366
    angular/angular#6380

    I disabled "mangle" for the uglify js plugin until they fix the beta :-/
    I'll let the issue opened until then.

  3. qdouble commented on Jan 10, 2016

    @qdouble
    Author

    Hey, yes, I see most of the issues I'm experiencing are beta 1 issues, not just webpack issues. I even ran into this issue that goes beyond being minified where there's an error if try to set class attributes even without being minified: angular/angular#6374

    I guess I'll stick with beta 0 until some of the obvious bugs are patched. Thanks.

  4. ocombe commented on Jan 16, 2016

    @ocombe
    Collaborator

    It will be fixed once this PR has been merged

  5. ocombe commented on Jan 20, 2016

    @ocombe
    Collaborator

    This has been fixed with angular/angular@eda4c3e
    We just need a new beta now.

  6. ocombe commented on Jan 28, 2016

    @ocombe
    Collaborator

    This has been fixed in beta.2 !

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions