File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,12 @@ import { name, version } from '../package.json';
2222import { TelemetryService } from './service' ;
2323import { createLoggerProvider } from './logging/logger-provider' ;
2424import { AppCheckProvider } from './logging/appcheck-provider' ;
25- // This needs to be in the same file that calls `getProvider()` on the component
26- // or it will get tree-shaken out.
27- import '@firebase/installations' ;
2825import { InstallationIdProvider } from './logging/installation-id-provider' ;
2926
27+ // We only import types from this package elsewhere in the `telemetry` package, so this
28+ // explicit import is needed here to prevent this module from being tree-shaken out.
29+ import '@firebase/installations' ;
30+
3031export function registerTelemetry ( ) : void {
3132 _registerComponent (
3233 new Component (
You can’t perform that action at this time.
0 commit comments