@lwc/synthetic-shadow
9.5.3 · 27 Oct 2026MIT276.2k / weekRepositoryHomepagenpmAtom feed
Your version
1.18.0 is the newest release of 1.x.
In short
5 changed
Release note
New Feature
#1602 - module-resolver: Synchronously resolve an LWC module from its specifier. The API is available via the
@lwc/module-resolverpackage. The resolver algorithm and design can be found in this RFC.
API
resolveModule(specifier, importer, options)
Example
import { resolveModule } from '@lwc/module-resolver';
const result = resolveModule('x-foo', './index.js');
console.log(result);Improvements
#1752 - compiler: With this change, bundled output of the
@lwc/compileruses named exports. (This change was reverted in v1.5.1.)
Internal