{"action":"created","issue":{"url":"https://api.github.com/repos/rails/webpacker/issues/1301","repository_url":"https://api.github.com/repos/rails/webpacker","labels_url":"https://api.github.com/repos/rails/webpacker/issues/1301/labels{/name}","comments_url":"https://api.github.com/repos/rails/webpacker/issues/1301/comments","events_url":"https://api.github.com/repos/rails/webpacker/issues/1301/events","html_url":"https://github.com/rails/webpacker/issues/1301","id":300719315,"number":1301,"title":"Cloning the production configuration to a staging environment","user":{"login":"jnimety","id":70484,"avatar_url":"https://avatars1.githubusercontent.com/u/70484?v=4","gravatar_id":"","url":"https://api.github.com/users/jnimety","html_url":"https://github.com/jnimety","followers_url":"https://api.github.com/users/jnimety/followers","following_url":"https://api.github.com/users/jnimety/following{/other_user}","gists_url":"https://api.github.com/users/jnimety/gists{/gist_id}","starred_url":"https://api.github.com/users/jnimety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnimety/subscriptions","organizations_url":"https://api.github.com/users/jnimety/orgs","repos_url":"https://api.github.com/users/jnimety/repos","events_url":"https://api.github.com/users/jnimety/events{/privacy}","received_events_url":"https://api.github.com/users/jnimety/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-27T17:17:12Z","updated_at":"2018-02-28T14:41:16Z","closed_at":null,"author_association":"NONE","body":"What is the recommended way to clone the production environment configuration in `@rails/webpacker/environments/production.js` to another environment? I'd like to guarantee that our staging environment is identical to production even if `@rails/webpacker/environments/production.js` changes."},"comment":{"url":"https://api.github.com/repos/rails/webpacker/issues/comments/369259881","html_url":"https://github.com/rails/webpacker/issues/1301#issuecomment-369259881","issue_url":"https://api.github.com/repos/rails/webpacker/issues/1301","id":369259881,"user":{"login":"jnimety","id":70484,"avatar_url":"https://avatars1.githubusercontent.com/u/70484?v=4","gravatar_id":"","url":"https://api.github.com/users/jnimety","html_url":"https://github.com/jnimety","followers_url":"https://api.github.com/users/jnimety/followers","following_url":"https://api.github.com/users/jnimety/following{/other_user}","gists_url":"https://api.github.com/users/jnimety/gists{/gist_id}","starred_url":"https://api.github.com/users/jnimety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnimety/subscriptions","organizations_url":"https://api.github.com/users/jnimety/orgs","repos_url":"https://api.github.com/users/jnimety/repos","events_url":"https://api.github.com/users/jnimety/events{/privacy}","received_events_url":"https://api.github.com/users/jnimety/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T14:41:16Z","updated_at":"2018-02-28T14:41:16Z","author_association":"NONE","body":"no errors but I think the issues is that https://github.com/rails/webpacker/blob/master/package/index.js#L11 loads files based on NODE_ENV. So if `NODE_ENV=staging` then `@rails/webpacker/environments/production.js` will not be loaded, correct?"}}
{"actor":{"display_login":"jnimety"}}