From 5a25033078408bda4ba918c67e224049bc2374a7 Mon Sep 17 00:00:00 2001 From: kanno <812137533@qq.com> Date: Sun, 8 Sep 2024 20:50:52 +0800 Subject: [PATCH] chore: release v1.3.0 --- CHANGELOG.md | 11 ++++++++++- README.md | 4 +++- package.json | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e536074..08e2fc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## 1.3.0 + +# Improves + +- `tarball` support generate gz archive. + +# Patches + +- Fix vite@2 can't work. + ## 1.2.0 - Support work with plugins that specify hook order. @@ -20,7 +30,6 @@ @mengdaoshizhongxinyang @silverwind - ## 1.1.2 # Improve diff --git a/README.md b/README.md index d27ec32..7234dbc 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ export default defineConfig({ plugins: [ // ...your plugin compression() + // If you want to create a tarball archive you can import tarball plugin from this package and use + // after compression. ] }) ``` @@ -52,7 +54,7 @@ export default defineConfig({ - `tarball` option `dest` means to generate a tarball somewhere -- `tarball` is based on the `ustart`. It should be compatible with all popular tar distributions out there (gnutar, bsdtar etc) +- `tarball` is based on the `ustar`. It should be compatible with all popular tar distributions out there (gnutar, bsdtar etc) ### Sponsors diff --git a/package.json b/package.json index 1852850..9d899ec 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vite-plugin-compression2", "packageManager": "yarn@4.1.0", - "version": "1.2.0", + "version": "1.3.0", "description": "a fast vite compression plugin", "main": "dist/index.js", "types": "dist/index.d.ts",