MCPcopy
hub / github.com/FredKSchott/snowpack / prepare

Method prepare

snowpack/src/types.ts:382–382  ·  view source on GitHub ↗

* Do any work needed before starting the dev server or build. Either will wait * for this to complete before continuing. Example: For "local", this involves * running esinstall (if needed) to prepare your local dependencies as ESM.

()

Source from the content-addressed store, hash-verified

380 * running esinstall (if needed) to prepare your local dependencies as ESM.
381 */
382 prepare(): Promise<void>;
383 /**
384 * Like prepare(), but only looks at a single file and meant to run at anytime,
385 * usually after the server has already started and is running.

Callers 5

preparePackagesFunction · 0.65
addCommandFunction · 0.65
rmCommandFunction · 0.65
commandFunction · 0.65
startServerFunction · 0.65

Implementers 2

PackageSourceRemotesnowpack/src/sources/remote.ts
PackageSourceLocalsnowpack/src/sources/local.ts

Calls

no outgoing calls

Tested by

no test coverage detected