|
@@ -1,7 +1,6 @@
|
|
|
import { defineConfig } from 'vite'
|
|
import { defineConfig } from 'vite'
|
|
|
import vue from '@vitejs/plugin-vue'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
import eslint from 'vite-plugin-eslint'
|
|
import eslint from 'vite-plugin-eslint'
|
|
|
-import viteCompression from 'vite-plugin-compression'
|
|
|
|
|
import path from 'path'
|
|
import path from 'path'
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
// https://vitejs.dev/config/
|
|
@@ -16,7 +15,7 @@ export default defineConfig({
|
|
|
'@': path.resolve(__dirname, './src')
|
|
'@': path.resolve(__dirname, './src')
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- plugins: [vue(), eslint({ fix: true }), viteCompression({ disable: true })],
|
|
|
|
|
|
|
+ plugins: [vue(), eslint({ fix: true })],
|
|
|
server: {
|
|
server: {
|
|
|
host: 'localhost',
|
|
host: 'localhost',
|
|
|
port: 6547,
|
|
port: 6547,
|