vite plugin. compress your bundle file.
MIT License
Bot releases are hidden (Show)
Published by nonzzz almost 2 years ago
Published by nonzzz almost 2 years ago
FYI. It's a break change. In past we compress all of file at close Bundle
lifecycle. But discovered over time during use this plugin. Find that we not need compress the static directory.
vite-plugin-compression2
will use generateBundle
hook replace closeBundle
hook. So that we won't support compress the static directory anymore. You should notice it.loginfo
option. Since vite 2.x
. Vite provide it own self compress ratio
. So we don't emit the same message to terminal. ( May be after future. We will intercept stdout and wrapepr it again.deleteOriginalAssets
as keep-source-map
include
( Details see the nextlineexclucde
support more type 'string','RegExp'
@nonzzz
Published by nonzzz almost 2 years ago
Full Changelog: https://github.com/nonzzz/vite-compression-plugin/compare/v0.0.4...v0.1.0
Published by nonzzz over 2 years ago
removeFiles
wrong file address.Published by nonzzz over 2 years ago