Skip to content

Commit 1dc3090

Browse files
committed
Copy favicon dir to root at build
1 parent 967f355 commit 1dc3090

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/build/build.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ import yargsParser from "yargs-parser";
9797

9898
fs.cpSync(pathJoin(__dirname, "main.css"), pathJoin(distDirPath, "main.css"));
9999

100+
fs.cpSync(pathJoin(dsfrDirPath, "favicon"), pathJoin(distDirPath, "favicon"), {
101+
"recursive": true
102+
});
103+
100104
Object.entries<string>(
101105
JSON.parse(fs.readFileSync(pathJoin(getProjectRoot(), "package.json")).toString("utf8"))[
102106
"bin"

0 commit comments

Comments
 (0)