Skip to content

Commit

Permalink
Add a main.css file for importing the dsfr css + icons
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Jul 19, 2024
1 parent d5b6637 commit e12992e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ import yargsParser from "yargs-parser";
"doWatch": false
});

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

Object.entries<string>(
JSON.parse(fs.readFileSync(pathJoin(getProjectRoot(), "package.json")).toString("utf8"))[
"bin"
Expand Down
2 changes: 2 additions & 0 deletions scripts/build/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import url(./dsfr.css);
@import url(./utility/icons/icons.min.css)

0 comments on commit e12992e

Please sign in to comment.