Skip to content

Commit

Permalink
refactor: simply require (thanks @pieh)
Browse files Browse the repository at this point in the history
  • Loading branch information
DSchau committed Sep 17, 2018
1 parent e9f1fe0 commit cf7fd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/cache-dir/static-entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const { get, merge, isObject, flatten, uniqBy } = require(`lodash`)
const apiRunner = require(`./api-runner-ssr`)
const syncRequires = require(`./sync-requires`)
const { dataPaths, pages } = require(`./data.json`)
const { version: gatsbyVersion } = require(join(process.cwd(), 'node_modules/gatsby/package.json'))
const { version: gatsbyVersion } = require(`gatsby/package.json`)

// Speed up looking up pages.
const pagesObjectMap = new Map()
Expand Down

0 comments on commit cf7fd8a

Please sign in to comment.