Skip to content

Commit e12992e

Browse files
committed
Add a main.css file for importing the dsfr css + icons
1 parent d5b6637 commit e12992e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

scripts/build/build.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ import yargsParser from "yargs-parser";
9595
"doWatch": false
9696
});
9797

98+
fs.cpSync(pathJoin(__dirname, "main.css"), pathJoin(distDirPath, "main.css"));
99+
98100
Object.entries<string>(
99101
JSON.parse(fs.readFileSync(pathJoin(getProjectRoot(), "package.json")).toString("utf8"))[
100102
"bin"

scripts/build/main.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@import url(./dsfr.css);
2+
@import url(./utility/icons/icons.min.css)

0 commit comments

Comments
 (0)