vite-plugin-singlefile-compression 2.0.7 → 2.0.8

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.
package/README.md CHANGED
@@ -115,7 +115,7 @@ vite v7.3.1 building client environment for production...
115
115
  ✓ 46 modules transformed.
116
116
  rendering chunks (1)...
117
117
 
118
- vite-plugin-singlefile-compression 2.0.6 building...
118
+ vite-plugin-singlefile-compression 2.0.8 building...
119
119
 
120
120
  file:///D:/code/js/vite-plugin-singlefile-compression/test/dist/index.html
121
121
  107.124 kB -> 48.342 kB
@@ -123,7 +123,7 @@ vite-plugin-singlefile-compression 2.0.6 building...
123
123
  Finish.
124
124
 
125
125
  dist/index.html 48.34 kB
126
- ✓ built in 783ms
126
+ ✓ built in 800ms
127
127
  ```
128
128
 
129
129
  ![](effect.jpg)
package/browser.min.js ADDED
@@ -0,0 +1 @@
1
+ throw Error("This npm package does not support running in the web browser.")
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "vite-plugin-singlefile-compression",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "author": "bddjr",
5
5
  "license": "MIT",
6
- "description": "",
6
+ "description": "Compress all assets and embeds them into dist/index.html, making it convenient to share as a single HTML file.",
7
7
  "main": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
- "browser": "null.js",
9
+ "browser": "./browser.min.js",
10
10
  "files": [
11
- "dist"
11
+ "dist",
12
+ "./browser.min.js"
12
13
  ],
13
14
  "type": "module",
14
15
  "scripts": {