Skip to content

Commit

Permalink
Use text compression for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Klein authored and patzick committed Nov 15, 2022
1 parent 92d442a commit ef791ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/poor-buses-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vue-demo-store": patch
---

Use text compression for assets
3 changes: 3 additions & 0 deletions templates/vue-demo-store/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ export default defineNuxtConfig({
experimental: {
inlineSSRStyles: false,
},
nitro: {
compressPublicAssets: true,
},
unocss: {
uno: true, // enabled `@unocss/preset-uno`
icons: true, // enabled `@unocss/preset-icons`
Expand Down

0 comments on commit ef791ee

Please sign in to comment.