{"_id":"@nuxt/postcss8","_rev":"2958682","name":"@nuxt/postcss8","description":"Since [nuxt@2.15](https://github.com/nuxt/nuxt.js/releases/tag/v2.15.0) nuxt supports opting-in to use `postcss@8` (via [nuxt/nuxt.js#8546](https://github.com/nuxt/nuxt.js/pull/8546)).","dist-tags":{"latest":"1.1.3"},"maintainers":[{"name":"antfu","email":""},{"name":"atinux","email":"atinux@gmail.com"},{"name":"clarkdo","email":"clark.duxin@gmail.com"},{"name":"danielroe","email":"daniel@concision.co.uk"},{"name":"pi0","email":"pooya@pi0.ir"}],"time":{"modified":"2023-04-28T06:12:46.000Z","created":"2021-03-10T14:38:26.102Z","1.1.3":"2021-03-10T14:38:26.102Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/nuxt/postcss8.git"},"versions":{"1.1.3":{"name":"@nuxt/postcss8","version":"1.1.3","repository":{"type":"git","url":"git+https://github.com/nuxt/postcss8.git"},"license":"MIT","main":"./dist/index.js","scripts":{"build":"siroc build","prepublishOnly":"yarn build","dev":"nuxt dev test/fixture","lint":"eslint --ext .ts .","release":"yarn test && standard-version && git push --follow-tags && npm publish","test":"yarn lint"},"dependencies":{"autoprefixer":"^10.2.5","css-loader":"^5.0.0","defu":"^3.2.2","postcss":"^8.1.10","postcss-import":"^13.0.0","postcss-loader":"^4.1.0","postcss-url":"^10.1.1","semver":"^7.3.4"},"devDependencies":{"@nuxtjs/eslint-config-typescript":"^5.0.0","eslint":"^7.21.0","nuxt":"^2.15.3","siroc":"^0.7.0","standard-version":"^9.1.1"},"gitHead":"babbb7f2a38f9bb444a3db81ebb0af2026ecfadc","description":"Since [nuxt@2.15](https://github.com/nuxt/nuxt.js/releases/tag/v2.15.0) nuxt supports opting-in to use `postcss@8` (via [nuxt/nuxt.js#8546](https://github.com/nuxt/nuxt.js/pull/8546)).","bugs":{"url":"https://github.com/nuxt/postcss8/issues"},"homepage":"https://github.com/nuxt/postcss8#readme","_id":"@nuxt/postcss8@1.1.3","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"shasum":"a7f8f6f2a664430bbdd3b175498eb693e0b1b351","size":3072,"noattachment":false,"key":"/@nuxt/postcss8/-/@nuxt/postcss8-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@nuxt/postcss8/download/@nuxt/postcss8-1.1.3.tgz"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""},{"name":"atinux","email":"atinux@gmail.com"},{"name":"clarkdo","email":"clark.duxin@gmail.com"},{"name":"danielroe","email":"daniel@concision.co.uk"},{"name":"pi0","email":"pooya@pi0.ir"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss8_1.1.3_1615387105955_0.9377907030581107"},"_hasShrinkwrap":false,"publish_time":1615387106102,"_cnpm_publish_time":1615387106102,"_cnpmcore_publish_time":"2021-12-16T19:37:10.457Z"}},"readme":"# postcss8 support for nuxt 2.15+\n\nSince [nuxt@2.15](https://github.com/nuxt/nuxt.js/releases/tag/v2.15.0) nuxt supports opting-in to use `postcss@8` (via [nuxt/nuxt.js#8546](https://github.com/nuxt/nuxt.js/pull/8546)).\n\nUpgrade is pending for [csstools/postcss-preset-env#191](https://github.com/csstools/postcss-preset-env/issues/191) (see [nuxt/nuxt.js#8087](https://github.com/nuxt/nuxt.js/issues/8087) and [nuxt/nuxt.js#8408](https://github.com/nuxt/nuxt.js/pull/8408))\n\nIn the meantime, this module allows rapid migration:\n\n- Ensures supported nuxt version is used (`>= 2.15.3`)\n- Forces to use upgraded dependencies using `__NUXT_PREPATHS__`\n- Will be updated accordingly to self-disable when a nuxt version with default postcss8 detected\n- Use `autoprefixer` instead of `postcss-preset-env`\n\n## Usage\n\nInstall `@nuxt/postcss8` as `devDependency`:\n\n```sh\nyarn add --dev @nuxt/postcss8\n# or\nnpm i -D @nuxt/postcss8\n```\n\nAdd `@nuxt/postcss8` to `buildModules` in `nuxt.config`:\n\n```js\n// nuxt.config\nexport default {\n  buildModules: [\n    '@nuxt/postcss8'\n  ]\n}\n```\n\n### For module authors\n\nIf you have a nuxt module that requires postcss@8, install `postcss@8` and `@nuxt/postcss8` as `dependency`:\n\n```sh\nyarn add postcss@8 @nuxt/postcss8\n# or\nnpm i postcss@8 @nuxt/postcss8\n```\n\nInside module:\n```js\nexport default async function() {\n  await this.addModule(require('@nuxt/postcss8'))\n}\n```\n\n","_attachments":{},"homepage":"https://github.com/nuxt/postcss8#readme","bugs":{"url":"https://github.com/nuxt/postcss8/issues"},"license":"MIT"}