Skip to content

Commit 9537092

Browse files
committed
Removed vite compression plugin
1 parent 8ec521b commit 9537092

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"lodash": "^4.17.21",
2727
"node-sass": "^9.0.0",
2828
"pinia": "^2.1.7",
29-
"vite-plugin-compression2": "^1.1.3",
3029
"vue": "^3.3.11",
3130
"vue-gtag": "^2.0.1",
3231
"vue-plugin-load-script": "^2.1.1",
@@ -49,4 +48,4 @@
4948
"vite": "^5.0.10",
5049
"vue-tsc": "^1.8.25"
5150
}
52-
}
51+
}

vite.config.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,12 @@ import { fileURLToPath, URL } from 'node:url'
33
import { defineConfig } from 'vite'
44
import vue from '@vitejs/plugin-vue'
55
import vueJsx from '@vitejs/plugin-vue-jsx'
6-
import compression from 'vite-plugin-compression2';
76

87
// https://vitejs.dev/config/
98
export default defineConfig({
109
plugins: [
1110
vue(),
1211
vueJsx(),
13-
compression({
14-
algorithm: 'gzip', exclude: [/\.(br)$ /, /\.(gz)$/]
15-
}),
16-
compression({
17-
algorithm: 'brotliCompress', exclude: [/\.(br)$ /, /\.(gz)$/],
18-
}),
1912
],
2013
resolve: {
2114
alias: {

0 commit comments

Comments
 (0)