-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20f9e6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@paglias @snicker @SabreCat I'm getting minification error when deploying to beta. I'm not sure if it's this commit, but fb1cc7b was the last commit that was deployed to production & beta, and since then something got broken. I tried the following to figure out which commit it was:
But I couldn't get it to trigger consistently using bisect. This is the faulty commit range. My hunch was upgrading to Angular 1.2.1, but I tried rolling back Angular to 1.2.0-rc.3 and pushing to beta and no cigar. It might be some other bower component we don't expect. I'll keep digging when I get the chance (I probably just need to refine my bisect approach), and it's not critical, we can just stay on an older release on beta & production for now.
20f9e6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably my fault, I'm giving a look at it, could be a commit on habitrpg-shared
20f9e6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lefnire I would say it's HabitRPG/habitrpg-shared@4547417
20f9e6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lefnire it's fixed with 7cae5b6
The problem is that the minifed app.js got created with a starting
"use strict"
which broke MomentJS 2.4.0, see moment/moment#1179It's working setting in UglifyJS settings
compress: false
, but we get a build of 555kb instead of 536kb. I still have to understand why UglifyJS puts a "use strict" at the beginning of the build file without an option to disable it...20f9e6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a fix is coming in the next momentjs release, let's save this discussion and wait for it then
20f9e6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
20f9e6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some googling :)