{"action":"created","issue":{"url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack/issues/1570","repository_url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack","labels_url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack/issues/1570/labels{/name}","comments_url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack/issues/1570/comments","events_url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack/issues/1570/events","html_url":"https://github.com/angular-fullstack/generator-angular-fullstack/issues/1570","id":127310226,"number":1570,"title":"grunt 'build' copies the local env variable file (server/config/local.env.js) into `/dist`","user":{"login":"MagRelo","id":3959416,"avatar_url":"https://avatars.githubusercontent.com/u/3959416?v=3","gravatar_id":"","url":"https://api.github.com/users/MagRelo","html_url":"https://github.com/MagRelo","followers_url":"https://api.github.com/users/MagRelo/followers","following_url":"https://api.github.com/users/MagRelo/following{/other_user}","gists_url":"https://api.github.com/users/MagRelo/gists{/gist_id}","starred_url":"https://api.github.com/users/MagRelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagRelo/subscriptions","organizations_url":"https://api.github.com/users/MagRelo/orgs","repos_url":"https://api.github.com/users/MagRelo/repos","events_url":"https://api.github.com/users/MagRelo/events{/privacy}","received_events_url":"https://api.github.com/users/MagRelo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-18T21:00:20Z","updated_at":"2016-04-21T23:36:32Z","closed_at":"2016-03-10T04:37:44Z","body":"The grunt 'build' task copies the local env variable file (server/config/local.env.js) into `/dist` – is this intentional? I've always modified my gruntfile to exclude this file from the 'copy' config, but that doesn't seem to work for me anymore with the `babel:server` task. I haven't been able to find the right syntax to exclude this file from the babel task...\r\n\r\nQ1) Should the local ENV vars be bundled into `/dist` with the `grunt build` task?\r\nQ2) If so, could someone help me with the syntax to exclude them on my end?\r\n\r\nThanks, great project!"},"comment":{"url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack/issues/comments/213160024","html_url":"https://github.com/angular-fullstack/generator-angular-fullstack/issues/1570#issuecomment-213160024","issue_url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack/issues/1570","id":213160024,"user":{"login":"Awk34","id":5545474,"avatar_url":"https://avatars.githubusercontent.com/u/5545474?v=3","gravatar_id":"","url":"https://api.github.com/users/Awk34","html_url":"https://github.com/Awk34","followers_url":"https://api.github.com/users/Awk34/followers","following_url":"https://api.github.com/users/Awk34/following{/other_user}","gists_url":"https://api.github.com/users/Awk34/gists{/gist_id}","starred_url":"https://api.github.com/users/Awk34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Awk34/subscriptions","organizations_url":"https://api.github.com/users/Awk34/orgs","repos_url":"https://api.github.com/users/Awk34/repos","events_url":"https://api.github.com/users/Awk34/events{/privacy}","received_events_url":"https://api.github.com/users/Awk34/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T23:36:32Z","updated_at":"2016-04-21T23:36:32Z","body":"@aendrew we still copy `local.env.js`, just not `local.env.sample.js`"}}