@nuxt-modules/compression
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@nuxt-modules/compression

@nuxt-modules/compression

npm version npm downloads Github Actions CI Codecov License

Assets Compression module for Nuxt 3

Features

📖  Read the documentation

Setup

yarn add @nuxt-modules/compression # yarn
npm i @nuxt-modules/compression # npm

Basic usage

Firstly, you need to add @nuxt-modules/compression to your Nuxt config.

// nuxt.config.js

{
  buildModules: [
    ['@nuxt-modules/compression']
  ]
}

And that's it! Now, the gzip compression will compress your static assets. For more configuration options (like brotli compression, filter assets, etc) please, visit the official docs.

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using yarn dev or npm run dev

License

MIT License

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    747
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    747

Package Sidebar

Install

npm i @nuxt-modules/compression

Weekly Downloads

747

Version

0.1.0

License

MIT

Unpacked Size

11 kB

Total Files

9

Last publish

Collaborators

  • baroshem