We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71510b2 commit 2a4a882Copy full SHA for 2a4a882
src/index.ts
@@ -270,7 +270,7 @@ export default function livewire(config?: PluginConfig | string | string[]): Liv
270
271
let includeInRefresh = true;
272
ctx.modules[0].importers.forEach(importer => {
273
- //@ts-expect-error
+ //@ts-expect-error may be nullish depending on npm used version
274
includeInRefresh = !importer.file?.endsWith(path) ?? false;
275
});
276
return includeInRefresh;
0 commit comments