vbenjs / vite-plugin-compression

Use gzip or brotli to compress resources
MIT License
404 stars 31 forks source link

fix: return a promise to have it awaited #14

Closed dchenk closed 2 years ago

dchenk commented 2 years ago

There was one file that didn't get compressed and I suspected that some promise isn't being awaited. After making this fix the plugin now works for me (apart from https://github.com/vbenjs/vite-plugin-compression/issues/13).