Vendor.js concatenation losing a few lines of the file SOLVED


I’m attempting to deploy my application for the first time (yay!) and have encountered a strange situation. The vendor.js file that was built has the app.imported js but the top got trimmed causing the comments to be not comments anymore /* having been cut off. The app works fine locally it’s only when building it for production it has issues.

I’m using which uses ember build --environment production

I’m importing the vendor stuff in my brocfile using app.import

package json

    "broccoli-asset-rev": "^2.0.1",
    "ember-breadcrumbs": "0.1.1",
    "ember-cli": "^0.1.15",
    "ember-cli-coffeescript": "^0.9.1",
    "ember-cli-content-security-policy": "^0.3.0",
    "ember-cli-dependency-checker": "0.0.7",
    "ember-cli-esnext": "^0.1.1",
    "ember-cli-font-awesome": "0.0.9",
    "ember-cli-htmlbars": "^0.7.4",
    "ember-cli-ic-ajax": "0.1.1",
    "ember-cli-inject-live-reload": "^1.3.1",
    "ember-cli-less": "^1.1.1",
    "ember-cli-qunit": "0.3.8",
    "ember-cli-simple-auth": "0.7.3",
    "ember-data": "^1.0.0-beta.15",
    "ember-deploy": "^0.3.1",
    "ember-deploy-redis": "0.0.2",
    "ember-deploy-s3": "0.0.3",
    "ember-export-application-global": "^1.0.2",
    "ember-idx-forms": "^0.5.1",
    "ember-validations": "^2.0.0-alpha.1",
    "express": "^4.11.2",
    "glob": "^4.3.5"

Has anyone ever had this problem before? Any clues?


Didn’t update my ember cli packages properly that was the issue.