Skip to content

Commit

Permalink
use slash on gatsby-browser and gatsby-ssr paths
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh committed Feb 28, 2018
1 parent 04086a1 commit 1d9f5d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gatsby/src/bootstrap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ module.exports = async (args: BootstrapArgs) => {
if (env === `ssr` && plugin.skipSSR === true) return undefined

const envAPIs = plugin[`${env}APIs`]
if (envAPIs && Array.isArray(envAPIs) && envAPIs.length > 0 ) {
return path.join(plugin.resolve, `gatsby-${env}.js`)
if (envAPIs && Array.isArray(envAPIs) && envAPIs.length > 0) {
return slash(path.join(plugin.resolve, `gatsby-${env}.js`))
}
return undefined
}
Expand Down

0 comments on commit 1d9f5d9

Please sign in to comment.