Skip to content

Commit

Permalink
fix(next/build): correct payload for plugin telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Jul 9, 2022
1 parent 5155a88 commit 0d83cd5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/next/telemetry/events/swc-plugins.ts
Expand Up @@ -5,8 +5,8 @@ const EVENT_SWC_PLUGIN_PRESENT = 'NEXT_SWC_PLUGIN_DETECTED'
type SwcPluginsEvent = {
eventName: string
payload: {
packageName: string
packageVersion?: string
pluginName: string
pluginVersion?: string
}
}

Expand Down Expand Up @@ -34,8 +34,8 @@ export async function eventSwcPlugins(
events.push({
eventName: EVENT_SWC_PLUGIN_PRESENT,
payload: {
packageName: plugin,
packageVersion: version,
pluginName: plugin,
pluginVersion: version,
},
})

Expand Down

0 comments on commit 0d83cd5

Please sign in to comment.