@rsbuild/plugin-image-compress 1.3.2 → 1.3.3
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/dist/index.cjs +3 -3
- package/package.json +16 -14
package/dist/index.cjs
CHANGED
|
@@ -22,7 +22,7 @@ var __webpack_require__ = {};
|
|
|
22
22
|
})();
|
|
23
23
|
(()=>{
|
|
24
24
|
__webpack_require__.r = (exports1)=>{
|
|
25
|
-
if (
|
|
25
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
26
26
|
value: 'Module'
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -238,12 +238,12 @@ exports.DEFAULT_OPTIONS = __webpack_exports__.DEFAULT_OPTIONS;
|
|
|
238
238
|
exports.ImageMinimizerPlugin = __webpack_exports__.ImageMinimizerPlugin;
|
|
239
239
|
exports.PLUGIN_IMAGE_COMPRESS_NAME = __webpack_exports__.PLUGIN_IMAGE_COMPRESS_NAME;
|
|
240
240
|
exports.pluginImageCompress = __webpack_exports__.pluginImageCompress;
|
|
241
|
-
for(var
|
|
241
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
242
242
|
"DEFAULT_OPTIONS",
|
|
243
243
|
"ImageMinimizerPlugin",
|
|
244
244
|
"PLUGIN_IMAGE_COMPRESS_NAME",
|
|
245
245
|
"pluginImageCompress"
|
|
246
|
-
].indexOf(
|
|
246
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
247
247
|
Object.defineProperty(exports, '__esModule', {
|
|
248
248
|
value: true
|
|
249
249
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-image-compress",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"repository": "https://github.com/rstackjs/rsbuild-plugin-image-compress",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -14,10 +14,12 @@
|
|
|
14
14
|
"main": "./dist/index.js",
|
|
15
15
|
"module": "./dist/index.mjs",
|
|
16
16
|
"types": "./dist/index.d.ts",
|
|
17
|
-
"files": [
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
18
20
|
"scripts": {
|
|
19
|
-
"build": "rslib
|
|
20
|
-
"dev": "rslib
|
|
21
|
+
"build": "rslib",
|
|
22
|
+
"dev": "rslib -w",
|
|
21
23
|
"lint": "biome check .",
|
|
22
24
|
"lint:write": "biome check . --write",
|
|
23
25
|
"prepare": "simple-git-hooks && npm run build",
|
|
@@ -33,19 +35,19 @@
|
|
|
33
35
|
]
|
|
34
36
|
},
|
|
35
37
|
"dependencies": {
|
|
36
|
-
"@napi-rs/image": "
|
|
37
|
-
"svgo": "^3.3.
|
|
38
|
+
"@napi-rs/image": "1.11.2",
|
|
39
|
+
"svgo": "^3.3.3"
|
|
38
40
|
},
|
|
39
41
|
"devDependencies": {
|
|
40
42
|
"@biomejs/biome": "^1.9.4",
|
|
41
|
-
"@playwright/test": "^1.
|
|
42
|
-
"@rsbuild/core": "
|
|
43
|
-
"@rslib/core": "^0.
|
|
44
|
-
"@types/node": "^24.
|
|
45
|
-
"nano-staged": "^0.
|
|
46
|
-
"playwright": "^1.
|
|
43
|
+
"@playwright/test": "^1.59.1",
|
|
44
|
+
"@rsbuild/core": "^2.0.0",
|
|
45
|
+
"@rslib/core": "^0.21.3",
|
|
46
|
+
"@types/node": "^24.12.2",
|
|
47
|
+
"nano-staged": "^1.0.2",
|
|
48
|
+
"playwright": "^1.59.1",
|
|
47
49
|
"simple-git-hooks": "^2.13.1",
|
|
48
|
-
"typescript": "
|
|
50
|
+
"typescript": "6.0.3"
|
|
49
51
|
},
|
|
50
52
|
"peerDependencies": {
|
|
51
53
|
"@rsbuild/core": "^1.0.0 || ^2.0.0-0"
|
|
@@ -55,7 +57,7 @@
|
|
|
55
57
|
"optional": true
|
|
56
58
|
}
|
|
57
59
|
},
|
|
58
|
-
"packageManager": "pnpm@10.
|
|
60
|
+
"packageManager": "pnpm@10.33.1",
|
|
59
61
|
"publishConfig": {
|
|
60
62
|
"access": "public",
|
|
61
63
|
"registry": "https://registry.npmjs.org/"
|