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 f288ba1 commit 037586bCopy full SHA for 037586b
src/build.ts
@@ -43,7 +43,7 @@ export async function build(context: CommandContext = makeCommandContext()) {
43
resolver
44
});
45
files.push(...render.files.map((f) => join(dirname(sourceFile), f.name)));
46
- files.push(...render.imports.map((f) => join(dirname(sourceFile), f.name)));
+ files.push(...render.imports.filter((i) => i.type === "local").map((i) => join(dirname(sourceFile), i.name)));
47
await prepareOutput(outputPath);
48
await writeFile(outputPath, render.html);
49
}
0 commit comments