René's URL Explorer Experiment


Title: Decrease the bundle size · Issue #1847 · clerk/javascript · GitHub

Open Graph Title: Decrease the bundle size · Issue #1847 · clerk/javascript

X Title: Decrease the bundle size · Issue #1847 · clerk/javascript

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, genera...

Open Graph 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/iss...

X 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/iss...

Opengraph URL: https://github.com/clerk/javascript/issues/1847

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Decrease the bundle size","articleBody":"### Preliminary Checks\r\n\r\n- [X] I have reviewed https://clerk.com/docs for existing features that would solve my problem\r\n\r\n- [X] I have searched for existing feature requests: https://github.com/clerkinc/javascript/issues\r\n\r\n- [X] 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.\r\n\r\n\r\n### Description\r\n\r\nClerk is almost 50% of my bundle size. It's built with Vite and I only use it like this:\r\n```ts\r\nimport Clerk from \"@clerk/clerk-js\";\r\n\r\nexport const clerkClient = new Clerk(\r\n  import.meta.env.VITE_APP_CLERK_PUBLISHABLE_KEY,\r\n);\r\n```\r\nIt 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.\r\n\r\nThis report is generated using this rollup plugin https://www.npmjs.com/package/rollup-plugin-analyzer \r\n\r\n![image](https://github.com/clerkinc/javascript/assets/4553604/c2d17b4b-3899-436b-979f-4efeb7499de1)\r\n\r\n\r\n### Affected Packages\r\n\r\n@clerk/clerk-js","author":{"url":"https://github.com/langonja","@type":"Person","name":"langonja"},"datePublished":"2023-10-08T16:06:08Z","url":"https://github.com/clerk/javascript/issues/1847"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fee99b82-483e-875e-a5c3-b08d9f6d1883
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEDEA:32523A:D90A2:12D5CB:6AFB6A08
html-safe-noncec5f3509d714b03ba20be1e48dc7527c02063e1e5b9e9778ba0651ab233cb589b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREVBOjMyNTIzQTpEOTBBMjoxMkQ1Q0I6NkFGQjZBMDgiLCJ2aXNpdG9yX2lkIjoiNjg0NTIwNDYwNTIzMzY2OTIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb2ec3c443e1b5f6fee769c119ddca2b2013a5c9b93682dd6df9bb248b60c1088
hovercard-subject-tagissue:1931881766
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/clerk/javascript/1847/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2b8b04a07fe349f09a095e075d9ecb042be90661020b072e208404a756270407/clerk/javascript/issues/1847
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2b8b04a07fe349f09a095e075d9ecb042be90661020b072e208404a756270407/clerk/javascript/issues/1847
og:image:altPreliminary 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/iss...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelangonja
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
turbo-cache-controlno-preview
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/clerk/javascript/issues/1847#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fissues%2F1847
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fissues%2F1847
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/issues/1847
Reloadhttps://github.com/clerk/javascript/issues/1847
Reloadhttps://github.com/clerk/javascript/issues/1847
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues45 (45)https://github.com/clerk/javascript/issues
Pull requests110 (110)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
New issuehttps://github.com/login?return_to=https://github.com/clerk/javascript/issues/1847
New issuehttps://github.com/login?return_to=https://github.com/clerk/javascript/issues/1847
Decrease the bundle sizehttps://github.com/clerk/javascript/issues/1847#top
https://github.com/langonja
langonjahttps://github.com/langonja
on Oct 8, 2023https://github.com/clerk/javascript/issues/1847#issue-1931881766
https://clerk.com/docshttps://clerk.com/docs
https://github.com/clerkinc/javascript/issueshttps://github.com/clerkinc/javascript/issues
https://clerk.com/discordhttps://clerk.com/discord
https://www.npmjs.com/package/rollup-plugin-analyzerhttps://www.npmjs.com/package/rollup-plugin-analyzer
https://private-user-images.githubusercontent.com/4553604/273460004-c2d17b4b-3899-436b-979f-4efeb7499de1.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ4NjE4NzcsIm5iZiI6MTc5NDg2MTU3NywicGF0aCI6Ii80NTUzNjA0LzI3MzQ2MDAwNC1jMmQxN2I0Yi0zODk5LTQzNmItOTc5Zi00ZWZlYjc0OTlkZTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTZUMjAzOTM3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2ZmZGQyNDczYjBiYzM4N2E4NjExMTk4M2IzOGIzMzQ4OGQyNmJmYzE3NjI1OWZmMDdmMzBiZDZiMWJlNWI2ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.pNe8NLpm6Ls-4f04pILAL_fW618ZS85sqntP8jyqttg
langonjahttps://github.com/langonja
feature-requesthttps://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3A%22feature-request%22
on Oct 8, 2023https://github.com/clerk/javascript/issues/1847#event-10584468177
https://github.com/fmoessle
fmoesslehttps://github.com/fmoessle
on Oct 8, 2023https://github.com/clerk/javascript/issues/1847#issuecomment-1752123712
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
on Oct 8, 2023https://github.com/clerk/javascript/issues/1847#issuecomment-1752133095
@fmoesslehttps://github.com/fmoessle
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
on Oct 8, 2023https://github.com/clerk/javascript/issues/1847#issuecomment-1752133727
https://github.com/langonja
langonjahttps://github.com/langonja
on Oct 8, 2023https://github.com/clerk/javascript/issues/1847#issuecomment-1752138014
@panteliselefhttps://github.com/panteliselef
https://private-user-images.githubusercontent.com/4553604/273469357-543bdc76-0d8d-4f97-aebc-aa064fbcd4ee.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ4NjE4NzcsIm5iZiI6MTc5NDg2MTU3NywicGF0aCI6Ii80NTUzNjA0LzI3MzQ2OTM1Ny01NDNiZGM3Ni0wZDhkLTRmOTctYWViYy1hYTA2NGZiY2Q0ZWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTZUMjAzOTM3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NGUxNDY5MTA3ODkzNWI4NjRjN2Q5OGRkZTcxZjIwNmZlODI3OGQ0NGM0ZTI4YzY2MjAwM2RiNTJmOGRmZjNhMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.AD8i7PWCqGOCFt6LtkfddzJ_3oQw-EMk7fEtgF_-GIs
https://github.com/langonja
langonjahttps://github.com/langonja
on Oct 8, 2023https://github.com/clerk/javascript/issues/1847#issuecomment-1752139222
https://github.com/fmoessle
fmoesslehttps://github.com/fmoessle
on Oct 8, 2023https://github.com/clerk/javascript/issues/1847#issuecomment-1752142255
https://github.com/fmoessle
fmoesslehttps://github.com/fmoessle
on Oct 8, 2023https://github.com/clerk/javascript/issues/1847#issuecomment-1752142925
@panteliselefhttps://github.com/panteliselef
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
on Oct 8, 2023https://github.com/clerk/javascript/issues/1847#issuecomment-1752170970
@panteliselefhttps://github.com/panteliselef
@fmoesslehttps://github.com/fmoessle
clerkhttps://github.com/clerk
on Oct 30, 2023https://github.com/clerk/javascript/issues/1847#event-10805365121
LekoArtshttps://github.com/LekoArts
#1962 https://github.com/clerk/javascript/discussions/1962
on Oct 30, 2023https://github.com/clerk/javascript/issues/1847#event-10805365170
Sign up for freehttps://github.com/signup?return_to=https://github.com/clerk/javascript/issues/1847
Sign in to commenthttps://github.com/login?return_to=https://github.com/clerk/javascript/issues/1847
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.