@rsbuild/plugin-image-compress 0.0.28 → 1.0.0

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.js CHANGED
@@ -195,7 +195,7 @@ var normalizeOptions = (options) => {
195
195
  return normalized;
196
196
  };
197
197
  var pluginImageCompress = (...args) => ({
198
- name: "plugin-image-compress",
198
+ name: "rsbuild:image-compress",
199
199
  setup(api) {
200
200
  const opts = normalizeOptions(castOptions(args));
201
201
  api.modifyBundlerChain((chain, { env }) => {
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // ../../node_modules/.pnpm/@modern-js+module-tools@2.40.0_typescript@5.2.2/node_modules/@modern-js/module-tools/shims/esm.js
1
+ // ../../node_modules/.pnpm/@modern-js+module-tools@2.40.0_typescript@5.3.2/node_modules/@modern-js/module-tools/shims/esm.js
2
2
  import { fileURLToPath } from "url";
3
3
  import path from "path";
4
4
 
@@ -172,7 +172,7 @@ var normalizeOptions = (options) => {
172
172
  return normalized;
173
173
  };
174
174
  var pluginImageCompress = (...args) => ({
175
- name: "plugin-image-compress",
175
+ name: "rsbuild:image-compress",
176
176
  setup(api) {
177
177
  const opts = normalizeOptions(castOptions(args));
178
178
  api.modifyBundlerChain((chain, { env }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-image-compress",
3
- "version": "0.0.28",
3
+ "version": "1.0.0",
4
4
  "description": "Image compress plugin for Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -24,15 +24,15 @@
24
24
  "dependencies": {
25
25
  "@napi-rs/image": "^1.7.0",
26
26
  "svgo": "^3.0.2",
27
- "@rsbuild/shared": "0.0.28"
27
+ "@rsbuild/shared": "1.0.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^16",
31
- "typescript": "^5.2.2",
31
+ "typescript": "^5.3.0",
32
32
  "webpack": "^5.89.0",
33
- "@rsbuild/core": "0.0.28",
34
- "@rsbuild/test-helper": "0.0.28",
35
- "@rsbuild/webpack": "0.0.28"
33
+ "@rsbuild/core": "1.0.0",
34
+ "@rsbuild/test-helper": "1.0.0",
35
+ "@rsbuild/webpack": "1.0.0"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public",