{"action":"opened","issue":{"url":"https://api.github.com/repos/guzart/gulp-ng-constant/issues/42","repository_url":"https://api.github.com/repos/guzart/gulp-ng-constant","labels_url":"https://api.github.com/repos/guzart/gulp-ng-constant/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/guzart/gulp-ng-constant/issues/42/comments","events_url":"https://api.github.com/repos/guzart/gulp-ng-constant/issues/42/events","html_url":"https://github.com/guzart/gulp-ng-constant/issues/42","id":186058243,"number":42,"title":"ES6 being used without wrap: es6","user":{"login":"dman777","id":887815,"avatar_url":"https://avatars.githubusercontent.com/u/887815?v=3","gravatar_id":"","url":"https://api.github.com/users/dman777","html_url":"https://github.com/dman777","followers_url":"https://api.github.com/users/dman777/followers","following_url":"https://api.github.com/users/dman777/following{/other_user}","gists_url":"https://api.github.com/users/dman777/gists{/gist_id}","starred_url":"https://api.github.com/users/dman777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dman777/subscriptions","organizations_url":"https://api.github.com/users/dman777/orgs","repos_url":"https://api.github.com/users/dman777/repos","events_url":"https://api.github.com/users/dman777/events{/privacy}","received_events_url":"https://api.github.com/users/dman777/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-29T04:11:58Z","updated_at":"2016-10-29T04:11:58Z","closed_at":null,"body":"I am not using `wrap: es6` but yet I am getting es6 syntax which breaks on my build:\r\n\r\n```javascript\r\nvar ngConstantOpt = {\r\n    space: '  ',\r\n    name: 'app',\r\n    stream: true,\r\n    constants: {\r\n        API_BASE_URI: '/'\r\n    }\r\n}\r\n\r\n\r\nfunction callNgConstant(constant) {\r\n    ngConstantOpt.constants.API_BASE_URI = constant;\r\n    return ngConstant(ngConstantOpt)\r\n        .pipe(rename(\"base-uris.js\"))\r\n        .pipe(gulp.dest(baseFileAbsPath));\r\n};\r\n\r\ngulp.task('constants:dev', function () {\r\n    return callNgConstant('/')\r\n});\r\n```\r\n\r\n-------------------------------------\r\n\r\n```javascript\r\nimport angular from 'angular';\r\n\r\nconst env = angular.module(\"app\", [])\r\n.constant(\"API_BASE_URI\", \"/\");\r\n\r\n\r\nexport default env;\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"dman777"}}