mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
always populate the file modified map
This commit is contained in:
parent
e119fc9745
commit
8cd60171e0
@ -478,9 +478,8 @@ export function getContext(
|
||||
getTailwindConfig
|
||||
) {
|
||||
let sourcePath = result.opts.from
|
||||
let [tailwindConfig, userConfigPath, tailwindConfigHash, configDependencies] = getTailwindConfig(
|
||||
configOrPath
|
||||
)
|
||||
let [tailwindConfig, userConfigPath, tailwindConfigHash, configDependencies] =
|
||||
getTailwindConfig(configOrPath)
|
||||
let isConfigFile = userConfigPath !== null
|
||||
|
||||
let contextDependencies = new Set(configDependencies)
|
||||
@ -582,10 +581,7 @@ export function getContext(
|
||||
stylesheetCache: null, // Hit
|
||||
}
|
||||
|
||||
if (!existingContext) {
|
||||
// If we didn't have an existing modified map then populate it now.
|
||||
trackModified([...contextDependencies], context)
|
||||
}
|
||||
trackModified([...contextDependencies], context)
|
||||
|
||||
// ---
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user