Merge branch 'feat/next-poc' of github.com:payloadcms/payload into feat/next-poc
This commit is contained in:
@@ -94,6 +94,13 @@ export const createClientConfig = async (
|
|||||||
|
|
||||||
delete clientConfig.endpoints
|
delete clientConfig.endpoints
|
||||||
delete clientConfig.db
|
delete clientConfig.db
|
||||||
|
|
||||||
|
'localization' in clientConfig &&
|
||||||
|
clientConfig.localization &&
|
||||||
|
clientConfig.localization.locales.forEach((locale) => {
|
||||||
|
delete locale.toString
|
||||||
|
})
|
||||||
|
|
||||||
clientConfig.onInit = undefined
|
clientConfig.onInit = undefined
|
||||||
|
|
||||||
clientConfig.collections = sanitizeCollections(clientConfig.collections)
|
clientConfig.collections = sanitizeCollections(clientConfig.collections)
|
||||||
|
|||||||
Reference in New Issue
Block a user