← back to the release
breaking or enforcedLightning Web Components

Legacy lightning/platformResourceLoader behaviour changes

Scripts loaded through lightning/platformResourceLoader are now evaluated in strict mode, which breaks components relying on implicit globals.

identifiers
lightning/platformResourceLoaderlightning/navigation
metadata types
LightningComponentBundle
editions
EnterpriseUnlimitedDeveloper
flags
enabled by defaultno action required
how
Audit lwc bundles that import lightning/platformResourceLoader and declare variables explicitly.
who
Developers of Lightning web components.
when
Summer '26.
where
Lightning Experience and Experience Cloud sites.
read it on salesforce.com