vite-plugin-compression
vite-plugin-compression copied to clipboard
Enable user to specify an empty extension
trafficstars
Hi, thanks a lot for this plugin.
A nice addition would be to enable user to specify an empty extension ext: "" so that the file extension renames the same.
Currently an empty string is considered falsy and the plugin fallbacks to the default extension. It could differentiate between "" and undefined in order to enable this.
I'll be happy to make a PR if this seems like a good modification.
Any updates on this? Would love to see this added!
Any updates @dchenk @agoni1212