mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Make createContext arguments optional
For Brad!
This commit is contained in:
parent
65fde59f6a
commit
05d26a5d43
@ -479,7 +479,12 @@ function registerPlugins(plugins, context) {
|
||||
}
|
||||
}
|
||||
|
||||
export function createContext(tailwindConfig, changedContent, tailwindDirectives, root) {
|
||||
export function createContext(
|
||||
tailwindConfig,
|
||||
changedContent = [],
|
||||
tailwindDirectives = new Set(),
|
||||
root = postcss.root()
|
||||
) {
|
||||
let context = {
|
||||
disposables: [],
|
||||
ruleCache: new Set(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user