We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29d8b9c commit 6659228Copy full SHA for 6659228
src/class-names/index.js
@@ -12,6 +12,7 @@ import getVariants from './getVariants'
12
import resolveConfig from './resolveConfig'
13
import * as util from 'util'
14
import * as path from 'path'
15
+import * as fs from 'fs'
16
import { getUtilityConfigMap } from './getUtilityConfigMap'
17
import glob from 'fast-glob'
18
import normalizePath from 'normalize-path'
@@ -79,7 +80,7 @@ export default async function getClassNames(
79
80
: ['options', 'separator']
81
let userSeperator
82
let userPurge
- let hook = Hook(configPath, (exports) => {
83
+ let hook = Hook(fs.realpathSync(configPath), (exports) => {
84
userSeperator = dlv(exports, sepLocation)
85
userPurge = exports.purge
86
dset(exports, sepLocation, '__TAILWIND_SEPARATOR__')
0 commit comments