Move variable declaration up a level to ensure it exists later
Move variable declaration up a level to ensure it exists later

gatsbyjs/gatsby,Khaledgarbaya/gatsby,ChristopherBiscardi/gatsby,mingaldrichgan/gatsby,0x80/gatsby,ChristopherBiscardi/gatsby,Khaledgarbaya/gatsby,mickeyreiss/gatsby,danielfarrell/gatsby,danielfarrell/gatsby,gatsbyjs/gatsby,chiedo/gatsby,mickeyreiss/gatsby,gatsbyjs/gatsby,okcoker/gatsby,chiedo/gatsby,mickeyreiss/gatsby,gatsbyjs/gatsby,fabrictech/gatsby,0x80/gatsby,chiedo/gatsby,ChristopherBiscardi/gatsby,fabrictech/gatsby,mingaldrichgan/gatsby,fabrictech/gatsby,danielfarrell/gatsby,okcoker/gatsby,fk/gatsby,fk/gatsby,gatsbyjs/gatsby,mingaldrichgan/gatsby,fk/gatsby,gatsbyjs/gatsby,0x80/gatsby,ChristopherBiscardi/gatsby,Khaledgarbaya/gatsby,okcoker/gatsby