diff --git a/.changeset/gorgeous-crabs-judge.md b/.changeset/gorgeous-crabs-judge.md new file mode 100644 index 00000000000..b8200987eac --- /dev/null +++ b/.changeset/gorgeous-crabs-judge.md @@ -0,0 +1,5 @@ +--- +"@clerk/clerk-js": patch +--- + +Change the webpackChunkName of GoogleOneTap from `"oneTap"` to `"onetap"` for consistency. diff --git a/packages/clerk-js/bundlewatch.config.json b/packages/clerk-js/bundlewatch.config.json index 0fc1a685a58..c155e90dd4e 100644 --- a/packages/clerk-js/bundlewatch.config.json +++ b/packages/clerk-js/bundlewatch.config.json @@ -12,6 +12,7 @@ { "path": "./dist/signin*.js", "maxSize": "12KB" }, { "path": "./dist/signup*.js", "maxSize": "10KB" }, { "path": "./dist/userbutton*.js", "maxSize": "5KB" }, - { "path": "./dist/userprofile*.js", "maxSize": "15KB" } + { "path": "./dist/userprofile*.js", "maxSize": "15KB" }, + { "path": "./dist/onetap*.js", "maxSize": "1KB" } ] } diff --git a/packages/clerk-js/src/ui/lazyModules/components.ts b/packages/clerk-js/src/ui/lazyModules/components.ts index 5cac14588f9..731a7f9802e 100644 --- a/packages/clerk-js/src/ui/lazyModules/components.ts +++ b/packages/clerk-js/src/ui/lazyModules/components.ts @@ -12,7 +12,7 @@ const componentImportPaths = { import(/* webpackChunkName: "organizationswitcher" */ './../components/OrganizationSwitcher'), OrganizationList: () => import(/* webpackChunkName: "organizationlist" */ './../components/OrganizationList'), ImpersonationFab: () => import(/* webpackChunkName: "impersonationfab" */ './../components/ImpersonationFab'), - GoogleOneTap: () => import(/* webpackChunkName: "oneTap" */ './../components/GoogleOneTap'), + GoogleOneTap: () => import(/* webpackChunkName: "onetap" */ './../components/GoogleOneTap'), } as const; export const SignIn = lazy(() => componentImportPaths.SignIn().then(module => ({ default: module.SignIn })));