Ignore unknown types when hashing config
This commit is contained in:
parent
52e08306ea
commit
82f4eaa683
3 changed files with 7 additions and 2 deletions
5
src/util/hashConfig.js
Normal file
5
src/util/hashConfig.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import hash from 'object-hash'
|
||||
|
||||
export default function hashConfig(config) {
|
||||
return hash(config, { ignoreUnknown: true })
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue