Skip to content

Commit

Permalink
chore: disable CSS compression with @playform/compress and activate m…
Browse files Browse the repository at this point in the history
…inification with lightningcss
  • Loading branch information
felixicaza committed Aug 11, 2024
1 parent f857a1f commit 866bf84
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ export default defineConfig({
image: {
domains: ['media.licdn.com'],
},
compressHTML: false,
vite: {
build: {
cssMinify: 'lightningcss',
},
},
integrations: [
i18n({
defaultLocale: 'es',
Expand All @@ -25,7 +29,7 @@ export default defineConfig({
playformCompress({
HTML: true,
JavaScript: true,
CSS: true,
CSS: false,
Image: false,
SVG: true,
}),
Expand Down

0 comments on commit 866bf84

Please sign in to comment.