No Partying Mariachis

    @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.

    Keywords

    none

    Install

    npm i @nuxtjs/optimize

    DownloadsWeekly Downloads

    202

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • danielroe
    • clarkdo
    • pi0
    • atinux
    • alexchopin