Package Exports
- @nuxtjs/cssnano
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nuxtjs/cssnano) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cssnano
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
tomodules
section ofnuxt.config.js
{
modules: [
'@nuxtjs/cssnano',
]
}