compression-rspack-plugin 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -18,10 +18,14 @@ Tested on a production Rspack build (~1,400 assets, Apple M3 Pro 14-core).
18
18
  ## Install
19
19
 
20
20
  ```bash
21
+ npm install compression-rspack-plugin
22
+ # or
21
23
  pnpm add compression-rspack-plugin
24
+ # or
25
+ yarn add compression-rspack-plugin
22
26
  ```
23
27
 
24
- Requires Rust toolchain (`rustc`, `cargo`) for the native addon. Install via [rustup](https://rustup.rs).
28
+ Prebuilt binaries are available for macOS (arm64, x64), Linux (x64 glibc, arm64 glibc, x64 musl). The correct binary is installed automatically via platform-specific optional dependencies.
25
29
 
26
30
  ## Usage
27
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compression-rspack-plugin",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "Rust-native parallel compression plugin for Rspack. Drop-in replacement for compression-webpack-plugin with gzip, brotli, deflate, and deflateRaw — all parallelized across CPU cores via Rust + rayon.",
6
6
  "main": "dist/index.js",
@@ -71,11 +71,11 @@
71
71
  "@rspack/core": ">=1.0.0"
72
72
  },
73
73
  "optionalDependencies": {
74
- "compression-rspack-plugin-darwin-arm64": "0.1.0",
75
- "compression-rspack-plugin-darwin-x64": "0.1.0",
76
- "compression-rspack-plugin-linux-x64-gnu": "0.1.0",
77
- "compression-rspack-plugin-linux-arm64-gnu": "0.1.0",
78
- "compression-rspack-plugin-linux-x64-musl": "0.1.0"
74
+ "compression-rspack-plugin-darwin-arm64": "0.1.1",
75
+ "compression-rspack-plugin-darwin-x64": "0.1.1",
76
+ "compression-rspack-plugin-linux-x64-gnu": "0.1.1",
77
+ "compression-rspack-plugin-linux-arm64-gnu": "0.1.1",
78
+ "compression-rspack-plugin-linux-x64-musl": "0.1.1"
79
79
  },
80
80
  "dependencies": {
81
81
  "p-limit": "7.3.0",