Skip to content

Commit

Permalink
feat(gatsby): add telemetry for usage of lazy devjs bundling (#28147)
Browse files Browse the repository at this point in the history
* feat(gatsby): add telemetry for usage of lazy devjs bundling

* fix name

* Use pascal convention for name
  • Loading branch information
KyleAMathews authored Nov 18, 2020
1 parent 9e60913 commit 48f2b2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/gatsby/src/services/initialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ export async function initialize({
telemetry.trackFeatureIsUsed(`QueryOnDemand`)
}
}
if (process.env.GATSBY_EXPERIMENTAL_LAZY_DEVJS) {
telemetry.trackFeatureIsUsed(`ExperimentalDevSSR`)
}

// run stale jobs
store.dispatch(removeStaleJobs(store.getState()))
Expand Down

0 comments on commit 48f2b2d

Please sign in to comment.