AI podcast maker performance optimizations
This commit is contained in:
10
frontend/src/utils/lazyWix.ts
Normal file
10
frontend/src/utils/lazyWix.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Lazy-loaded Wix SDK wrapper
|
||||
*
|
||||
* Wix SDK is only used in a few pages (WixTestPage, WixCallbackPage).
|
||||
* This wrapper lazy-loads it only when needed.
|
||||
*/
|
||||
|
||||
export const lazyWixSDK = () => import('@wix/sdk');
|
||||
export const lazyWixBlog = () => import('@wix/blog');
|
||||
|
||||
Reference in New Issue
Block a user