* WIP * WIP * Finish combining JIT and AOT plugins Still lots of clean up that can be done in some of the more complex ones, but at least it's one file per plugin now. * Remove unused import * Fix AOT generation bugs * Move corePlugins/index.js to corePlugins.js * Convert JIT files to ESM * Move tests * Reorder core plugins to match JIT order * Update AOT apply tests * Unify utils * Combine plugin lists to one single source of truth * Finish resolving merge conflicts, fix tests Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
13 lines
484 B
JavaScript
13 lines
484 B
JavaScript
import LRU from 'quick-lru'
|
|
|
|
export const env = {
|
|
TAILWIND_MODE: process.env.TAILWIND_MODE,
|
|
NODE_ENV: process.env.NODE_ENV,
|
|
DEBUG: process.env.DEBUG !== undefined,
|
|
TAILWIND_DISABLE_TOUCH: process.env.TAILWIND_DISABLE_TOUCH !== undefined,
|
|
TAILWIND_TOUCH_DIR: process.env.TAILWIND_TOUCH_DIR,
|
|
}
|
|
export const contextMap = new Map()
|
|
export const configContextMap = new Map()
|
|
export const contextSourcesMap = new Map()
|
|
export const contentMatchCache = new LRU({ maxSize: 25000 })
|