diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f3bb0527225..95334432aff0 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 + +- Temporarily remove optional chaining in nesting plugin ([#7077](https://github.com/tailwindlabs/tailwindcss/pull/7077)) ## [3.0.14] - 2022-01-14 diff --git a/nesting/plugin.js b/nesting/plugin.js index 2b5586648464..b286ad1d6864 100644 --- a/nesting/plugin.js +++ b/nesting/plugin.js @@ -16,7 +16,7 @@ module.exports = function nesting(opts = postcssNested) { let plugin = (() => { if ( typeof opts === 'function' || - (typeof opts === 'object' && opts?.hasOwnProperty('postcssPlugin')) + (typeof opts === 'object' && opts.hasOwnProperty('postcssPlugin')) ) { return opts }