Skip to content

Commit

Permalink
Update packages/gatsby/src/services/initialize.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet authored Mar 18, 2022
1 parent 6d90c96 commit ecbe007
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby/src/services/initialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ export async function initialize({
? lmdbCacheDirExists
: cacheJsonDirExists

// globby is ESM only so we have to import it like this
const { globby: glob } = await import(`globby`)
// For builds in case public dir exists, but cache doesn't, we need to clean up potentially stale
// artifacts from previous builds (due to cache not being available, we can't rely on tracking of artifacts)
Expand Down

0 comments on commit ecbe007

Please sign in to comment.