Get Information About the Current Community in Lightning Web Components

Use the @salesforce/community scoped module to import information about the current community context when developing Lightning web components for Lightning communities.

Where: This change applies to Lightning web components in Lightning communities, accessed through Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.