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

(cherry picked from commit 48f2b2d)
  • Loading branch information
KyleAMathews authored and vladar committed Nov 19, 2020
1 parent 9e3ceec commit 2dd0704
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 2dd0704

Please sign in to comment.