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 8da4301 commit 14d7788Copy full SHA for 14d7788
src/commands/build.ts
@@ -138,7 +138,7 @@ export default defineCommand({
138
if (!normalizedId.includes(entry.input))
139
continue
140
141
- const distFile = await resolvePath(join(dirname(pathToFileURL(normalizedId).href.replace(entry.input, entry.outDir!)), filename(normalizedId)))
+ const distFile = await resolvePath(join(dirname(pathToFileURL(normalizedId).href.replace(entry.input, entry.outDir!)), filename(normalizedId)!))
142
if (distFile) {
143
return {
144
external: true,
0 commit comments