small fix to npm package (#30365)

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2024-06-12 14:22:06 +02:00 committed by GitHub
parent 60ebce8d85
commit 99d3611afe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View file

@ -55,3 +55,10 @@ export {
savePersonalInfo,
unLinkAccount,
} from "./api/methods";
export type { Environment as AccountEnvironment } from "./environment";
export {
KeycloakProvider,
useEnvironment,
useAlerts,
} from "@keycloak/keycloak-ui-shared";
export { usePromise } from "./utils/usePromise";

View file

@ -16,6 +16,7 @@ export default defineConfig(({ mode }) => {
}
const lib = env.LIB
? {
copyPublicDir: false,
outDir: "lib",
lib: {
entry: path.resolve(__dirname, "src/index.ts"),