compression.ts 173 B

12345678
  1. import Compression from 'vite-plugin-compression';
  2. export default function createCompression() {
  3. return Compression({
  4. ext: '.gz',
  5. deleteOriginFile: false
  6. });
  7. }