Skip to content

Releases: nonzzz/vite-plugin-compression

v0.6.0

27 Jan 13:42
4a9d06a
Compare
Choose a tag to compare

Background

Improves & Features

  • Algorithm will using gzip If user pass a error union type.
  • Update document usage.

v0.5.0

06 Jan 10:35
b27fa37
Compare
Choose a tag to compare

MINOR

  • Migrate vite version.
  • Peerdependencies support vite3 and vite.

v0.4.3

03 Jan 13:44
aade24d
Compare
Choose a tag to compare

Background

Patches

  • Fix dynamicImports loose right assets info.(Vite's intenral logic cause it. So we define the order for us plugin).

v0.4.2

01 Jan 14:55
22aa509
Compare
Choose a tag to compare

Background

Minor

  • Perf chunk collect logic. In collect setp. Don't clone a new buffer data.
  • Change release file. using .mjs,.js.

Others

  • Update project dependencies.

v0.4.1

28 Nov 06:34
c1e1f1e
Compare
Choose a tag to compare

Background

Patches

  • Fix dynamicImports can't generator right compressed file.

v0.4.0

27 Nov 15:54
f9d61d9
Compare
Choose a tag to compare

Background

Improves & Features

  • Add filename prop.(Control the generator source name)
  • Enhanced type inference.
  • Performance optimization.

V0.3.0

23 Nov 13:08
0fecf24
Compare
Choose a tag to compare

Patches

  • Fix bundle file condit.

V0.2.0

08 Nov 09:42
178b8ae
Compare
Choose a tag to compare

Background

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.

Major

  • 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.
  • Remove 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.
  • Remove deleteOriginalAssets as keep-source-map

Feature & Improves

  • Add option include ( Details see the nextline
  • Option exclucde support more type 'string','RegExp'
  • Optimize compression performance

Patch

  • Fix document description.

Credits

@nonzzz

V0.1.0

24 Oct 13:07
e55a7bb
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @nonzzz made their first contribution in #1

Full Changelog: v0.0.4...v0.1.0

V0.0.3

18 Feb 03:48
Compare
Choose a tag to compare

Patches

  • Fix removeFiles wrong file address.