Skip to content

Commit

Permalink
build(nuxt): compress assets during build time (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
arunanshub authored Jul 23, 2024
1 parent c438355 commit 5473e61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,9 @@ export default defineNuxtConfig({
'/info/**': { prerender: true },
},

nitro: {
compressPublicAssets: { brotli: true, gzip: true },
},

compatibilityDate: '2024-07-22',
})

0 comments on commit 5473e61

Please sign in to comment.