@modern-js/uni-builder 2.60.2 → 2.60.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.
Files changed (2) hide show
  1. package/dist/types.d.ts +1 -0
  2. package/package.json +28 -28
package/dist/types.d.ts CHANGED
@@ -320,6 +320,7 @@ export type SriOptions = {
320
320
  export type OverridesUniBuilderInstance = {
321
321
  addPlugins: (plugins: Array<UniBuilderPlugin | LooseRsbuildPlugin>, options?: {
322
322
  before?: string;
323
+ environment?: string;
323
324
  }) => void;
324
325
  };
325
326
  export type UniBuilderContext = RsbuildPluginAPI['context'] & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/uni-builder",
3
- "version": "2.60.2",
3
+ "version": "2.60.3",
4
4
  "description": "Unified builder for Modern.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,29 +25,29 @@
25
25
  "@babel/core": "^7.24.7",
26
26
  "@babel/preset-react": "^7.22.15",
27
27
  "@babel/types": "^7.24.7",
28
- "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
29
- "@rsbuild/core": "1.0.7",
30
- "@rsbuild/plugin-assets-retry": "1.0.1",
31
- "@rsbuild/plugin-babel": "1.0.1",
32
- "@rsbuild/plugin-check-syntax": "1.0.1",
33
- "@rsbuild/plugin-css-minimizer": "1.0.2",
34
- "@rsbuild/plugin-less": "1.0.1",
35
- "@rsbuild/plugin-pug": "1.0.2",
36
- "@rsbuild/plugin-react": "1.0.2",
37
- "@rsbuild/plugin-rem": "1.0.1",
38
- "@rsbuild/plugin-sass": "1.0.1",
39
- "@rsbuild/plugin-source-build": "1.0.1",
40
- "@rsbuild/plugin-styled-components": "1.0.1",
41
- "@rsbuild/plugin-svgr": "1.0.2",
42
- "@rsbuild/plugin-toml": "1.0.1",
43
- "@rsbuild/plugin-type-check": "1.0.1",
44
- "@rsbuild/plugin-typed-css-modules": "1.0.2",
45
- "@rsbuild/plugin-yaml": "1.0.2",
46
- "@rsbuild/webpack": "1.0.7",
28
+ "@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
29
+ "@rsbuild/core": "~1.0.11",
30
+ "@rsbuild/plugin-assets-retry": "~1.0.1",
31
+ "@rsbuild/plugin-babel": "~1.0.1",
32
+ "@rsbuild/plugin-check-syntax": "~1.0.1",
33
+ "@rsbuild/plugin-css-minimizer": "~1.0.2",
34
+ "@rsbuild/plugin-less": "~1.0.1",
35
+ "@rsbuild/plugin-pug": "~1.0.2",
36
+ "@rsbuild/plugin-react": "~1.0.3",
37
+ "@rsbuild/plugin-rem": "~1.0.1",
38
+ "@rsbuild/plugin-sass": "~1.0.2",
39
+ "@rsbuild/plugin-source-build": "~1.0.1",
40
+ "@rsbuild/plugin-styled-components": "~1.0.1",
41
+ "@rsbuild/plugin-svgr": "~1.0.3",
42
+ "@rsbuild/plugin-toml": "~1.0.1",
43
+ "@rsbuild/plugin-type-check": "~1.0.1",
44
+ "@rsbuild/plugin-typed-css-modules": "~1.0.2",
45
+ "@rsbuild/plugin-yaml": "~1.0.2",
46
+ "@rsbuild/webpack": "~1.0.9",
47
47
  "@swc/helpers": "0.5.13",
48
- "autoprefixer": "10.4.19",
48
+ "autoprefixer": "10.4.20",
49
49
  "babel-loader": "9.1.3",
50
- "babel-plugin-import": "1.13.5",
50
+ "babel-plugin-import": "1.13.8",
51
51
  "babel-plugin-styled-components": "1.13.3",
52
52
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",
53
53
  "browserslist": "4.23.1",
@@ -70,21 +70,21 @@
70
70
  "terser-webpack-plugin": "5.3.10",
71
71
  "ts-deepmerge": "7.0.0",
72
72
  "ts-loader": "9.4.4",
73
- "webpack": "^5.94.0",
73
+ "webpack": "^5.95.0",
74
74
  "webpack-subresource-integrity": "5.1.0",
75
- "@modern-js/babel-preset": "2.60.2",
76
- "@modern-js/utils": "2.60.2"
75
+ "@modern-js/utils": "2.60.3",
76
+ "@modern-js/babel-preset": "2.60.3"
77
77
  },
78
78
  "devDependencies": {
79
- "@rsbuild/plugin-webpack-swc": "1.0.3",
79
+ "@rsbuild/plugin-webpack-swc": "~1.0.3",
80
80
  "@types/html-minifier-terser": "^7.0.2",
81
81
  "@types/lodash": "^4.14.202",
82
82
  "react": "^18.2.0",
83
83
  "react-dom": "^18.2.0",
84
84
  "terser": "^5.31.1",
85
85
  "typescript": "^5.3.0",
86
- "@scripts/build": "2.60.2",
87
- "@scripts/vitest-config": "2.60.2"
86
+ "@scripts/build": "2.60.3",
87
+ "@scripts/vitest-config": "2.60.3"
88
88
  },
89
89
  "publishConfig": {
90
90
  "access": "public",