{"versions":{"0.0.0-insiders.565cd3e":{"name":"@tailwindcss/nesting","version":"0.0.0-insiders.565cd3e","description":"A light wrapper around any postcss nesting plugin improves compatibility with Tailwind CSS.","main":"index.js","scripts":{"test":"jest"},"publishConfig":{"access":"public"},"prettier":{"printWidth":100,"semi":false,"singleQuote":true,"trailingComma":"es5"},"jest":{"setupFilesAfterEnv":["<rootDir>/jest/custom-matchers.js"]},"license":"MIT","peerDependencies":{"postcss":"^8.2.15"},"dependencies":{"postcss-nested":"^5.0.5"},"devDependencies":{"jest":"^26.6.3","postcss":"^8.2.15","prettier":"^2.3.0"},"gitHead":"565cd3e30c0cdd65c0464f943727d32f0df0e48f","_id":"@tailwindcss/nesting@0.0.0-insiders.565cd3e","_nodeVersion":"12.22.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-WhHoFBx19TnH/c+xLwT/sxei6+4RpdfiyG3MYXfmLaMsADmVqBkF7B6lDalgZD9YdM459MF7DtxVbWkOrV7IaQ==","shasum":"cdfe802dd2900cd6b4e99006c7d13b21132d72fc","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@tailwindcss/nesting/-/nesting-0.0.0-insiders.565cd3e.tgz","fileCount":3,"unpackedSize":3712,"size":1591},"_npmUser":{"name":"anonymous","email":"adam@adamwathan.me"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathan@reinink.ca"},{"name":"anonymous","email":"adam@adamwathan.me"},{"name":"anonymous","email":"bradlc41@gmail.com"},{"name":"anonymous","email":"malfait.robin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nesting_0.0.0-insiders.565cd3e_1633417816164_0.11275353772403807"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T21:10:37.227Z","contributors":[]}},"dist-tags":{"insiders":"0.0.0-insiders.565cd3e","latest":"0.0.0-insiders.565cd3e"},"name":"@tailwindcss/nesting","time":{"created":"2022-01-27T13:11:00.788Z","modified":"2026-01-07T04:14:06.440Z","0.0.0-insiders.565cd3e":"2021-10-05T07:10:16.364Z"},"readme":"# @tailwindcss/nesting\n\nThis is a PostCSS plugin that wraps [postcss-nested](https://github.com/postcss/postcss-nested) or [postcss-nesting](https://github.com/jonathantneal/postcss-nesting) and acts as a compatibility layer to make sure your nesting plugin of choice properly understands custom syntax like `@apply` and `@screen`.\n\nTo use it, install it via npm:\n\n```shell\nnpm install @tailwindcss/nesting\n```\n\nThen add it to your PostCSS configuration, somewhere before Tailwind itself:\n\n```js\n// postcss.config.js\nmodule.exports = {\n  plugins: [\n    require('postcss-import'),\n    require('@tailwindcss/nesting'),\n    require('tailwindcss'),\n    require('autoprefixer'),\n  ]\n}\n```\n\nBy default, it uses the [postcss-nested](https://github.com/postcss/postcss-nested) plugin under the hood, which uses a Sass-like syntax and is the plugin that powers nesting support in the [Tailwind CSS plugin API](https://tailwindcss.com/docs/plugins#css-in-js-syntax).\n\nIf you'd rather use [postcss-nesting](https://github.com/jonathantneal/postcss-nesting) (which is based on the work-in-progress [CSS Nesting](https://drafts.csswg.org/css-nesting-1/) specification), first install the plugin alongside `@tailwindcss/nesting`:\n\n```shell\nnpm install @tailwindcss/nesting postcss-nesting\n```\n\nThen pass the plugin itself as an argument to `@tailwindcss/nesting` in your PostCSS configuration:\n\n```js\n// postcss.config.js\nmodule.exports = {\n  plugins: [\n    require('postcss-import'),\n    require('@tailwindcss/nesting')(require('postcss-nesting')),\n    require('tailwindcss'),\n    require('autoprefixer'),\n  ]\n}\n```\n\nThis can also be helpful if for whatever reason you need to use a very specific version of `postcss-nested` and want to override the version we bundle with `@tailwindcss/nesting` itself.","users":{}}