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" />
12/**
23 * Copyright 2025 Google LLC
34 *
1718import { registerFramework } from "./register-framework" ;
1819import pkgJson from "../package.json" ;
1920
20-
2121export * from "./auth" ;
2222export * from "./behaviors" ;
2323export * from "./config" ;
@@ -27,6 +27,6 @@ export * from "./country-data";
2727export * from "./translations" ;
2828export * from "./register-framework" ;
2929
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" />
12/**
23 * Copyright 2025 Google LLC
34 *
@@ -22,6 +23,6 @@ export * from "./hooks";
2223export * from "./components" ;
2324export { FirebaseUIProvider , type FirebaseUIProviderProps } from "./context" ;
2425
25- if ( ! process . env . VITEST ) {
26+ if ( import . meta . env . PROD ) {
2627 registerFramework ( "react" , pkgJson . version ) ;
2728}
You can’t perform that action at this time.
0 commit comments