Skip to content

Commit d39ef6b

Browse files
committed
Updates
1 parent cbdec6a commit d39ef6b

18 files changed

Lines changed: 8619 additions & 8602 deletions

bin/only-include-used-components.d.ts renamed to bin/only-include-css-of-used-components.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#!/usr/bin/env node
21
/**
3-
* This script is ran with `npx react-dsfr only-include-used-components`
2+
* This processing stage is run by `npx react-dsfr optimize-css`, after the icon CSS
3+
* has been optimized.
44
* It scans your codebase to find which react-dsfr components are used and rebuilds
55
* the node_modules/@codegouvfr/react-dsfr/dsfr/dsfr.css and dsfr.min.css files
66
* with only the CSS of those components (plus the core, which is always included).

bin/only-include-used-components.js renamed to bin/only-include-css-of-used-components.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/only-include-css-of-used-components.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/only-include-used-components.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

bin/react-dsfr.js

Lines changed: 24 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/react-dsfr.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/tsconfig.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)