Skip to content

Commit

Permalink
Removed vite compression plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jdaigneau5 committed Jul 25, 2024
1 parent 8ec521b commit 9537092
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"lodash": "^4.17.21",
"node-sass": "^9.0.0",
"pinia": "^2.1.7",
"vite-plugin-compression2": "^1.1.3",
"vue": "^3.3.11",
"vue-gtag": "^2.0.1",
"vue-plugin-load-script": "^2.1.1",
Expand All @@ -49,4 +48,4 @@
"vite": "^5.0.10",
"vue-tsc": "^1.8.25"
}
}
}
7 changes: 0 additions & 7 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,12 @@ import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import compression from 'vite-plugin-compression2';

// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
vueJsx(),
compression({
algorithm: 'gzip', exclude: [/\.(br)$ /, /\.(gz)$/]
}),
compression({
algorithm: 'brotliCompress', exclude: [/\.(br)$ /, /\.(gz)$/],
}),
],
resolve: {
alias: {
Expand Down

0 comments on commit 9537092

Please sign in to comment.