Skip to content

Commit 4bf9c95

Browse files
chore(storybook): Add in FIPS compliant configuration for storybook (#4125)
1 parent c166d7d commit 4bf9c95

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.storybook/main.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,14 @@ const config: {
8080
}),
8181
);
8282

83+
// Add FIPS-compliant configuration
8384
return {
8485
...config,
86+
output: {
87+
...config.output,
88+
hashFunction: 'sha256',
89+
hashDigest: 'hex',
90+
},
8591
cache: {
8692
type: 'filesystem',
8793
hashAlgorithm: 'sha256',

0 commit comments

Comments
 (0)