@nuxtjs/cssnanodeprecated

[![npm](https://img.shields.io/npm/dt/@nuxtjs/cssnano.svg?style=flat-square)](https://npmjs.com/package/@nuxtjs/cssnano) [![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/cssnano/latest.svg?style=flat-square)](https://npmjs.com/package/@nuxtj

Usage no npm install needed!

<script type="module">
  import nuxtjsCssnano from 'https://cdn.skypack.dev/@nuxtjs/cssnano';
</script>

README

cssnano

npm npm (scoped with tag)

cssnano is a modern, modular compression tool written on top of the PostCSS ecosystem, which allows us to use a lot of powerful features in order to compact CSS appropriately. (learn more)

Setup

  • Add @nuxtjs/cssnano dependency using yarn or npm to your project
  • Add @nuxtjs/cssnano to modules section of nuxt.config.js
{
  modules: [
    '@nuxtjs/cssnano',
  ]
}