@modern-js/uni-builder 0.0.0-nightly-20240505170717 → 0.0.0-nightly-20240507170709

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.
@@ -143,6 +143,7 @@ const pluginBabel = (options, extraOptions) => ({
143
143
  const { babelOptions, includes, excludes } = getBabelOptions(config);
144
144
  const rule = chain.module.rule(CHAIN_ID.RULE.JS);
145
145
  (0, import_shared.applyScriptCondition)({
146
+ chain,
146
147
  rule,
147
148
  config,
148
149
  context: api.context,
@@ -88,6 +88,7 @@ const pluginTsLoader = (options, babelOptions) => {
88
88
  });
89
89
  const rule = chain.module.rule(CHAIN_ID.RULE.TS);
90
90
  (0, import_shared.applyScriptCondition)({
91
+ chain,
91
92
  rule,
92
93
  config,
93
94
  context: api.context,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/uni-builder",
3
- "version": "0.0.0-nightly-20240505170717",
3
+ "version": "0.0.0-nightly-20240507170709",
4
4
  "description": "Unified builder for Modern.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,23 +26,23 @@
26
26
  "@babel/preset-react": "^7.22.15",
27
27
  "@babel/types": "^7.23.0",
28
28
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
29
- "@rsbuild/babel-preset": "0.6.8",
30
- "@rsbuild/core": "0.6.8",
31
- "@rsbuild/plugin-assets-retry": "0.6.8",
32
- "@rsbuild/plugin-babel": "0.6.8",
33
- "@rsbuild/plugin-check-syntax": "0.6.8",
34
- "@rsbuild/plugin-css-minimizer": "0.6.8",
35
- "@rsbuild/plugin-pug": "0.6.8",
36
- "@rsbuild/plugin-react": "0.6.8",
37
- "@rsbuild/plugin-rem": "0.6.8",
38
- "@rsbuild/plugin-source-build": "0.6.8",
39
- "@rsbuild/plugin-styled-components": "0.6.8",
40
- "@rsbuild/plugin-svgr": "0.6.8",
41
- "@rsbuild/plugin-type-check": "0.6.8",
42
- "@rsbuild/plugin-toml": "0.6.8",
43
- "@rsbuild/plugin-yaml": "0.6.8",
44
- "@rsbuild/shared": "0.6.8",
45
- "@rsbuild/webpack": "0.6.8",
29
+ "@rsbuild/babel-preset": "0.6.11",
30
+ "@rsbuild/core": "0.6.11",
31
+ "@rsbuild/plugin-assets-retry": "0.6.11",
32
+ "@rsbuild/plugin-babel": "0.6.11",
33
+ "@rsbuild/plugin-check-syntax": "0.6.11",
34
+ "@rsbuild/plugin-css-minimizer": "0.6.11",
35
+ "@rsbuild/plugin-pug": "0.6.11",
36
+ "@rsbuild/plugin-react": "0.6.11",
37
+ "@rsbuild/plugin-rem": "0.6.11",
38
+ "@rsbuild/plugin-source-build": "0.6.11",
39
+ "@rsbuild/plugin-styled-components": "0.6.11",
40
+ "@rsbuild/plugin-svgr": "0.6.11",
41
+ "@rsbuild/plugin-type-check": "0.6.11",
42
+ "@rsbuild/plugin-toml": "0.6.11",
43
+ "@rsbuild/plugin-yaml": "0.6.11",
44
+ "@rsbuild/shared": "0.6.11",
45
+ "@rsbuild/webpack": "0.6.11",
46
46
  "@swc/helpers": "0.5.3",
47
47
  "babel-loader": "9.1.3",
48
48
  "babel-plugin-import": "1.13.5",
@@ -66,18 +66,18 @@
66
66
  "ts-loader": "9.4.4",
67
67
  "webpack": "^5.91.0",
68
68
  "webpack-subresource-integrity": "5.1.0",
69
- "@modern-js/utils": "0.0.0-nightly-20240505170717",
70
- "@modern-js/server": "0.0.0-nightly-20240505170717",
71
- "@modern-js/prod-server": "0.0.0-nightly-20240505170717"
69
+ "@modern-js/utils": "0.0.0-nightly-20240507170709",
70
+ "@modern-js/server": "0.0.0-nightly-20240507170709",
71
+ "@modern-js/prod-server": "0.0.0-nightly-20240507170709"
72
72
  },
73
73
  "devDependencies": {
74
- "@rsbuild/plugin-swc": "0.6.8",
74
+ "@rsbuild/plugin-swc": "0.6.11",
75
75
  "@types/lodash": "^4.14.202",
76
76
  "react": "^18.2.0",
77
77
  "react-dom": "^18.2.0",
78
78
  "typescript": "^5.3.0",
79
- "@scripts/build": "0.0.0-nightly-20240505170717",
80
- "@scripts/vitest-config": "0.0.0-nightly-20240505170717"
79
+ "@scripts/vitest-config": "0.0.0-nightly-20240507170709",
80
+ "@scripts/build": "0.0.0-nightly-20240507170709"
81
81
  },
82
82
  "publishConfig": {
83
83
  "access": "public",