-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: use re-export instead of import/export
- Loading branch information
Showing
3 changed files
with
17 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
import { | ||
export { | ||
getCurrentFirebaseAuthUser, | ||
getNewOAuthTokenUsingGithubDeviceFlow, | ||
signInToFirebaseWithGithubToken | ||
} from "./core/auth/index" | ||
import { getOpenedCeremonies, getCeremonyCircuits } from "./core/contribute/index" | ||
|
||
export { | ||
getCurrentFirebaseAuthUser, | ||
getNewOAuthTokenUsingGithubDeviceFlow, | ||
signInToFirebaseWithGithubToken, | ||
getOpenedCeremonies, | ||
getCeremonyCircuits | ||
} | ||
export { getOpenedCeremonies, getCeremonyCircuits } from "./core/contribute/index" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import setup from "./setup" | ||
import auth from "./auth" | ||
import contribute from "./contribute" | ||
import observe from "./observe" | ||
import finalize from "./finalize" | ||
import clean from "./clean" | ||
import logout from "./logout" | ||
|
||
export { setup, auth, contribute, observe, finalize, clean, logout } | ||
export { default as setup } from "./setup" | ||
export { default as auth } from "./auth" | ||
export { default as contribute } from "./contribute" | ||
export { default as observe } from "./observe" | ||
export { default as finalize } from "./finalize" | ||
export { default as clean } from "./clean" | ||
export { default as logout } from "./logout" |