@nuxtjs/optimize

1.1.1 • Public • Published

Optimize (Preset)

npm npm (scoped with tag)

Adds more optional optimizers to nuxt project.

Setup

  • Add @nuxtjs/optimize dependency using yarn or npm to your project
  • Add @nuxtjs/optimize to modules section of nuxt.config.js
{
  modules: [
    // Simple usage
    '@nuxtjs/optimize',
  
    // With options
    ['@nuxtjs/optimize', { /* options */ }],
  ]
}

Modules

cssnano

  • options: use options.cssnano to customize it.

Readme

Keywords

none

Package Sidebar

Install

npm i @nuxtjs/optimize

Weekly Downloads

45

Version

1.1.1

License

MIT

Last publish

Collaborators

  • damianglowala
  • gugustinette
  • antfu
  • danielroe
  • clarkdo
  • pi0
  • atinux
  • alexchopin