Packages

@lwc/synthetic-shadow

9.5.3 · 27 Oct 2026MIT276.2k / weekRepositoryHomepagenpmAtom feed

Your version

1.4.0

27 Mar 2020Where it was published

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-resolver package. 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

Internal

  • #1777 - chore: Routine dependency updates.

  • #1779 - chore: Remove unused files.

  • #1783 - integration-karma: Increases test coverage threshold.