-
Notifications
You must be signed in to change notification settings - Fork 422
Description
Preliminary Checks
-
I have reviewed https://clerk.com/docs for existing features that would solve my problem
-
I have searched for existing feature requests: https://github.com/clerkinc/javascript/issues
-
This issue is not a question, general help request, or anything other than a feature request directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Description
Clerk is almost 50% of my bundle size. It's built with Vite and I only use it like this:
import Clerk from "@clerk/clerk-js";
export const clerkClient = new Clerk(
import.meta.env.VITE_APP_CLERK_PUBLISHABLE_KEY,
);It would be nice to have the react clerk package export Clerk so that I can initialize the client outside of React, then I wouldn't need to install the @clerk/clerk-js package.
This report is generated using this rollup plugin https://www.npmjs.com/package/rollup-plugin-analyzer
Affected Packages
@clerk/clerk-js
