{"action":"closed","issue":{"url":"https://api.github.com/repos/vuejs/vueify/issues/54","labels_url":"https://api.github.com/repos/vuejs/vueify/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vueify/issues/54/comments","events_url":"https://api.github.com/repos/vuejs/vueify/issues/54/events","html_url":"https://github.com/vuejs/vueify/issues/54","id":126243467,"number":54,"title":"process.env.NODE_ENV = 'production' causes a type error","user":{"login":"badman-rodriguez","id":15989103,"avatar_url":"https://avatars.githubusercontent.com/u/15989103?v=3","gravatar_id":"","url":"https://api.github.com/users/badman-rodriguez","html_url":"https://github.com/badman-rodriguez","followers_url":"https://api.github.com/users/badman-rodriguez/followers","following_url":"https://api.github.com/users/badman-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/badman-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/badman-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badman-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/badman-rodriguez/orgs","repos_url":"https://api.github.com/users/badman-rodriguez/repos","events_url":"https://api.github.com/users/badman-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/badman-rodriguez/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-12T18:31:02Z","updated_at":"2016-01-12T19:08:15Z","closed_at":"2016-01-12T19:08:15Z","body":"I have a .vue file\r\nExample:\r\n```\r\n<template>\r\n\t<div class=\"address-fields\">\r\n\t\t<input type=\"text\" placeholder=\"Venue Name\" v-model=\"address.venue\">\r\n\t\t<input type=\"text\" placeholder=\"Address 1\" v-model=\"address.street_1\">\r\n\t\t<input type=\"text\" placeholder=\"Address 2\" v-model=\"address.street_2\">\r\n\t\t<input type=\"text\" placeholder=\"City\" v-model=\"address.city\">\r\n\t\t<input type=\"text\" placeholder=\"State\" v-model=\"address.state\" maxlength=\"2\">\r\n\t\t<input type=\"text\" placeholder=\"ZIP/Postal\" v-model=\"address.postal_code\">\r\n\t\t<input type=\"text\" placeholder=\"Country\" v-model=\"address.country\" maxlength=\"2\">\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n    export default{\r\n       props: {\r\n            date: Object\r\n       },\r\n       events: {\r\n       \t\tautocompleteAddress: function(name, place) {\r\n       \t\t\tthis.autocomplete(name,place);\r\n       \t\t}\r\n       },\r\n       methods:{\r\n       \t\tautocomplete:function (name, place) {\r\n       \t\t\tvar mapper = {\r\n       \t\t\t\troute: 'street_1',\r\n       \t\t\t\tlocality: 'city',\r\n       \t\t\t\tadministrative_area_level_1: 'state',\r\n       \t\t\t\tcountry: 'country',\r\n       \t\t\t\tpostal_code: 'postal_code'\r\n       \t\t\t};\r\n       \t\t\tfor ( var i = 0; i < place.length; i++ ) {\r\n       \t\t\t\tvar type = place[i].types[0];\r\n                    var val = place[i][componentForm[type]];\r\n\r\n                    if (type == 'route') {\r\n                        val = name;\r\n                    }\r\n\r\n                    this.address[mapper[type]] = val;\r\n       \t\t\t}\r\n       \t\t}\r\n       }\r\n   }\r\n</script>\r\n```\r\nand running gulp without the being set to production it runs fine.\r\nBut making it to production mode i get:\r\nTypeError: Cannot read property 'minify' of undefined while parsing file.\r\n\r\n"}}