Skip to content

Commit 4702d9d

Browse files
jonathanglasmeyerKent C. Dodds
authored andcommitted
fix(output): Add hashDigestLength (#16)
1 parent a6cda17 commit 4702d9d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/properties/output/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export default Joi.object({
1010
devtoolModuleFilenameTemplate: [notAbsolutePath, Joi.func()],
1111
devtoolFallbackModuleFilenameTemplate: [notAbsolutePath, Joi.func()],
1212
devtoolLineToLine: Joi.any(),
13+
hashDigestLength: Joi.number(),
1314
hotUpdateChunkFilename: notAbsolutePath,
1415
hotUpdateMainFilename: notAbsolutePath,
1516
jsonpFunction: Joi.string(),

src/properties/output/index.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ const validModuleConfigs = [
3737
{ crossOriginLoading: false },
3838
// #16
3939
{ crossOriginLoading: 'anonymous' },
40+
// #17
41+
{ hashDigestLength: 6 }, // undocumented
4042

4143
]
4244

0 commit comments

Comments
 (0)