Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

feat: support caching context with options as object #12

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into feat/options-cache
  • Loading branch information
pi0 authored Mar 27, 2021
commit f144e6aa4a52fedc92d39bb83d1afd90fee0fc0b
4 changes: 3 additions & 1 deletion src/lib/setupContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,9 @@ function setupContext(configOrPath) {

const { _cacheKey, _cacheVersion } = tailwindConfig

let contextDependencies = new Set()
let contextDependencies = new Set(
sharedState.env.TAILWIND_DISABLE_TOUCH ? configDependencies : []
)

// If there are no @tailwind rules, we don't consider this CSS file or it's dependencies
// to be dependencies of the context. Can reuse the context even if they change.
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.