diff --git a/src/class-names/index.js b/src/class-names/index.js index 88dd419bf79cdbfdac24dab052d4386b4b173f2a..b1d3794748540cc051aa2095e052839c777fa771 100644 --- a/src/class-names/index.js +++ b/src/class-names/index.js @@ -13,8 +13,6 @@ import resolveConfig from './resolveConfig' import * as util from 'util' import * as path from 'path' import extractClassNames from './extractClassNames' -import resolveFrom from 'resolve-from' -import extractClassNames from './extractClassNames' import importFrom from 'import-from' import glob from 'fast-glob' import normalizePath from 'normalize-path' @@ -82,7 +80,7 @@ ? ['separator'] : ['options', 'separator'] let userSeperator let userPurge - let hook = Hook(fs.realpathSync(configPath), (exports) => { + let hook = Hook(configPath, (exports) => { userSeperator = dlv(exports, sepLocation) userPurge = exports.purge dset(exports, sepLocation, '__TAILWIND_SEPARATOR__')