Skip to content

Commit 3f8de4c

Browse files
authored
fix: exclude shim file from bundled dependency hint (#909)
1 parent 1bb7ab5 commit 3f8de4c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/features/deps.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ export function DepsPlugin(
218218
if (chunk.type === 'asset') continue
219219

220220
for (const id of chunk.moduleIds) {
221+
if (id === shimFile) continue
221222
const parsed = await readBundledDepInfo(id)
222223
if (!parsed) continue
223224

0 commit comments

Comments
 (0)