nuxt-compress icon indicating copy to clipboard operation
nuxt-compress copied to clipboard

Support for Nuxt3 ?

Open BananaAcid opened this issue 3 years ago • 2 comments
trafficstars

Will this project support Nuxt3? And is this going to be supported by the maintainers of this project?

BananaAcid avatar Sep 06 '22 07:09 BananaAcid

Doesn't seem to have all the features this package does, but now text compression is native to Nuxt 3. Try it out, it worked for me!

import { defineNuxtConfig } from 'nuxt'

export default defineNuxtConfig({
  nitro: {
    compressPublicAssets: true,
  },
})

https://stackoverflow.com/questions/72882000/how-do-i-make-my-nuxt-app-v3-serve-mjs-br-brotli-files-instead-of-the-regul

BjornTheProgrammer avatar Dec 30 '22 22:12 BjornTheProgrammer

Ah, I see Nuxt 3 is finally stable. I'll take a look soon at what I need to do here

robcresswell avatar Jan 03 '23 15:01 robcresswell