We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4ec7e4 commit 5b10cbdCopy full SHA for 5b10cbd
packages/gatsby/src/services/initialize.ts
@@ -4,7 +4,6 @@ import * as fs from "fs-extra"
4
import { releaseAllMutexes } from "gatsby-core-utils/mutex"
5
import md5File from "md5-file"
6
import crypto from "crypto"
7
-import { globby as glob } from "globby"
8
import path from "path"
9
import telemetry from "gatsby-telemetry"
10
@@ -270,6 +269,7 @@ export async function initialize({
270
269
? lmdbCacheDirExists
271
: cacheJsonDirExists
272
+ const { globby: glob } = await import(`globby`)
273
// For builds in case public dir exists, but cache doesn't, we need to clean up potentially stale
274
// artifacts from previous builds (due to cache not being available, we can't rely on tracking of artifacts)
275
if (
0 commit comments