diff --git a/packages/enhanced/src/schemas/sharing/ProviderSharedPlugin.check.ts b/packages/enhanced/src/schemas/sharing/ProviderSharedPlugin.check.ts index 1bf7e20ca42..a0f7152e356 100644 --- a/packages/enhanced/src/schemas/sharing/ProviderSharedPlugin.check.ts +++ b/packages/enhanced/src/schemas/sharing/ProviderSharedPlugin.check.ts @@ -48,8 +48,7 @@ function r( 'shareScope' !== r && 'singleton' !== r && 'strictVersion' !== r && - 'version' !== r && - 'layer' !== r + 'version' !== r ) { const e = { params: { diff --git a/packages/enhanced/src/schemas/sharing/ProviderSharedPlugin.ts b/packages/enhanced/src/schemas/sharing/ProviderSharedPlugin.ts index 68067ca89dc..b2edd1b2676 100644 --- a/packages/enhanced/src/schemas/sharing/ProviderSharedPlugin.ts +++ b/packages/enhanced/src/schemas/sharing/ProviderSharedPlugin.ts @@ -86,11 +86,6 @@ export default { }, ], }, - layer: { - description: 'Layer in which the shared module should be placed.', - type: 'string', - minLength: 1, - }, }, }, ProvidesItem: {