File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change
1
+ /// <reference types="vite/client" />
1
2
/**
2
3
* Copyright 2025 Google LLC
3
4
*
17
18
import { registerFramework } from "./register-framework" ;
18
19
import pkgJson from "../package.json" ;
19
20
20
-
21
21
export * from "./auth" ;
22
22
export * from "./behaviors" ;
23
23
export * from "./config" ;
@@ -27,6 +27,6 @@ export * from "./country-data";
27
27
export * from "./translations" ;
28
28
export * from "./register-framework" ;
29
29
30
- // if (!process. env.VITEST ) {
31
- // registerFramework("core", pkgJson.version);
32
- // }
30
+ if ( import . meta . env . PROD ) {
31
+ registerFramework ( "core" , pkgJson . version ) ;
32
+ }
Original file line number Diff line number Diff line change
1
+ /// <reference types="vite/client" />
1
2
/**
2
3
* Copyright 2025 Google LLC
3
4
*
@@ -22,6 +23,6 @@ export * from "./hooks";
22
23
export * from "./components" ;
23
24
export { FirebaseUIProvider , type FirebaseUIProviderProps } from "./context" ;
24
25
25
- if ( ! process . env . VITEST ) {
26
+ if ( import . meta . env . PROD ) {
26
27
registerFramework ( "react" , pkgJson . version ) ;
27
28
}
You can’t perform that action at this time.
0 commit comments