diff --git a/CHANGELOG.md b/CHANGELOG.md index 320e52d8e7e3..5d56c386cb7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing yet! +### Fixed + +- Cleanup unused `variantOrder` ([#9829](https://github.com/tailwindlabs/tailwindcss/pull/9829)) ## [3.2.4] - 2022-11-11 diff --git a/src/util/resolveConfig.js b/src/util/resolveConfig.js index 7e9deebe843c..cfeda6ec4128 100644 --- a/src/util/resolveConfig.js +++ b/src/util/resolveConfig.js @@ -1,7 +1,6 @@ import negateValue from './negateValue' import corePluginList from '../corePluginList' import configurePlugins from './configurePlugins' -import defaultConfig from '../../stubs/defaultConfig.stub' import colors from '../public/colors' import { defaults } from './defaults' import { toPath } from './toPath' @@ -260,7 +259,6 @@ export default function resolveConfig(configs) { prefix: '', important: false, separator: ':', - variantOrder: defaultConfig.variantOrder, }, ] diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js index d8e55eb4eab3..8a29e2d430a1 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -949,23 +949,5 @@ module.exports = { 50: '50', }, }, - variantOrder: [ - 'first', - 'last', - 'odd', - 'even', - 'visited', - 'checked', - 'empty', - 'read-only', - 'group-hover', - 'group-focus', - 'focus-within', - 'hover', - 'focus', - 'focus-visible', - 'active', - 'disabled', - ], plugins: [], }