mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Ignore unknown types when hashing config
This commit is contained in:
parent
52e08306ea
commit
82f4eaa683
@ -5,12 +5,12 @@ import path from 'path'
|
||||
import crypto from 'crypto'
|
||||
import chokidar from 'chokidar'
|
||||
import postcss from 'postcss'
|
||||
import hash from 'object-hash'
|
||||
import dlv from 'dlv'
|
||||
import selectorParser from 'postcss-selector-parser'
|
||||
import LRU from 'quick-lru'
|
||||
import normalizePath from 'normalize-path'
|
||||
|
||||
import hash from '../../util/hashConfig'
|
||||
import transformThemeValue from '../../util/transformThemeValue'
|
||||
import parseObjectStyles from '../../util/parseObjectStyles'
|
||||
import getModuleDependencies from '../../lib/getModuleDependencies'
|
||||
|
||||
@ -16,7 +16,7 @@ import processPlugins from './util/processPlugins'
|
||||
import cloneNodes from './util/cloneNodes'
|
||||
import { issueFlagNotices } from './featureFlags.js'
|
||||
|
||||
import hash from 'object-hash'
|
||||
import hash from './util/hashConfig'
|
||||
import log from './util/log'
|
||||
import { shared } from './util/disposables'
|
||||
|
||||
|
||||
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…
x
Reference in New Issue
Block a user