@@ -10,7 +10,6 @@ const LRU = require('quick-lru')
10
10
11
11
const resolveConfig = require ( 'tailwindcss/resolveConfig' )
12
12
const escape = require ( 'tailwindcss/lib/util/escapeClassName' ) . default
13
- const getAllConfigs = require ( 'tailwindcss/lib/util/getAllConfigs' ) . default
14
13
const evaluateTailwindFunctions = require ( 'tailwindcss/lib/lib/evaluateTailwindFunctions' ) . default
15
14
16
15
const corePlugins = require ( './corePlugins' )
@@ -151,14 +150,7 @@ function* candidatePermutations(prefix, modifier = '') {
151
150
}
152
151
153
152
function generateRules ( tailwindConfig , candidates , context ) {
154
- let {
155
- componentMap,
156
- utilityMap,
157
- variantMap,
158
- classCache,
159
- notClassCache,
160
- postCssNodeCache,
161
- } = context
153
+ let { componentMap, utilityMap, classCache, notClassCache, postCssNodeCache } = context
162
154
163
155
let layers = {
164
156
components : [ ] ,
@@ -342,7 +334,7 @@ function rebootTemplateWatcher(context) {
342
334
touch ( context . touchFile . name )
343
335
} )
344
336
345
- context . watcher . on ( 'change' , ( path , stats ) => {
337
+ context . watcher . on ( 'change' , ( path ) => {
346
338
context . changedFiles . add ( './' + path )
347
339
touch ( context . touchFile . name )
348
340
} )
@@ -452,7 +444,7 @@ function registerPlugins(tailwindConfig, plugins, context) {
452
444
offsets,
453
445
} )
454
446
455
- for ( let pluginName in corePlugins ) {
447
+ for ( let pluginName in plugins ) {
456
448
let plugin = corePlugins [ pluginName ]
457
449
if ( Array . isArray ( plugin ) ) {
458
450
for ( let pluginItem of plugin ) {
0 commit comments