Ignore unknown types when hashing config

This commit is contained in:
Adam Wathan 2021-05-06 13:16:32 -04:00
parent 52e08306ea
commit 82f4eaa683
3 changed files with 7 additions and 2 deletions

5
src/util/hashConfig.js Normal file
View file

@ -0,0 +1,5 @@
import hash from 'object-hash'
export default function hashConfig(config) {
return hash(config, { ignoreUnknown: true })
}