@modern-js/uni-builder 0.0.0-nightly-20240428170659 → 0.0.0-nightly-20240430170709
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/shared/plugins/manifest.js +2 -2
- package/package.json +25 -25
|
@@ -36,9 +36,9 @@ const pluginManifest = () => ({
|
|
|
36
36
|
name: "uni-builder:manifest",
|
|
37
37
|
setup(api) {
|
|
38
38
|
api.modifyBundlerChain(async (chain, { target, CHAIN_ID }) => {
|
|
39
|
-
const {
|
|
39
|
+
const { RspackManifestPlugin } = await Promise.resolve().then(() => __toESM(require("rspack-manifest-plugin")));
|
|
40
40
|
const publicPath = chain.output.get("publicPath");
|
|
41
|
-
chain.plugin(CHAIN_ID.PLUGIN.MANIFEST).use(
|
|
41
|
+
chain.plugin(CHAIN_ID.PLUGIN.MANIFEST).use(RspackManifestPlugin, [
|
|
42
42
|
{
|
|
43
43
|
fileName: target === "web" ? "asset-manifest.json" : `asset-manifest-${target}.json`,
|
|
44
44
|
publicPath,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/uni-builder",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240430170709",
|
|
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.
|
|
30
|
-
"@rsbuild/core": "0.6.
|
|
31
|
-
"@rsbuild/plugin-assets-retry": "0.6.
|
|
32
|
-
"@rsbuild/plugin-babel": "0.6.
|
|
33
|
-
"@rsbuild/plugin-check-syntax": "0.6.
|
|
34
|
-
"@rsbuild/plugin-css-minimizer": "0.6.
|
|
35
|
-
"@rsbuild/plugin-pug": "0.6.
|
|
36
|
-
"@rsbuild/plugin-react": "0.6.
|
|
37
|
-
"@rsbuild/plugin-rem": "0.6.
|
|
38
|
-
"@rsbuild/plugin-source-build": "0.6.
|
|
39
|
-
"@rsbuild/plugin-styled-components": "0.6.
|
|
40
|
-
"@rsbuild/plugin-svgr": "0.6.
|
|
41
|
-
"@rsbuild/plugin-type-check": "0.6.
|
|
42
|
-
"@rsbuild/plugin-toml": "0.6.
|
|
43
|
-
"@rsbuild/plugin-yaml": "0.6.
|
|
44
|
-
"@rsbuild/shared": "0.6.
|
|
45
|
-
"@rsbuild/webpack": "0.6.
|
|
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",
|
|
46
46
|
"@swc/helpers": "0.5.3",
|
|
47
47
|
"babel-loader": "9.1.3",
|
|
48
48
|
"babel-plugin-import": "1.13.5",
|
|
@@ -61,23 +61,23 @@
|
|
|
61
61
|
"postcss-nesting": "12.0.1",
|
|
62
62
|
"postcss-page-break": "3.0.4",
|
|
63
63
|
"react-refresh": "^0.14.0",
|
|
64
|
-
"rspack-manifest-plugin": "5.0.0
|
|
64
|
+
"rspack-manifest-plugin": "5.0.0",
|
|
65
65
|
"terser-webpack-plugin": "5.3.10",
|
|
66
66
|
"ts-loader": "9.4.4",
|
|
67
67
|
"webpack": "^5.91.0",
|
|
68
68
|
"webpack-subresource-integrity": "5.1.0",
|
|
69
|
-
"@modern-js/server": "0.0.0-nightly-
|
|
70
|
-
"@modern-js/utils": "0.0.0-nightly-
|
|
69
|
+
"@modern-js/server": "0.0.0-nightly-20240430170709",
|
|
70
|
+
"@modern-js/utils": "0.0.0-nightly-20240430170709",
|
|
71
|
+
"@modern-js/prod-server": "0.0.0-nightly-20240430170709"
|
|
71
72
|
},
|
|
72
73
|
"devDependencies": {
|
|
73
|
-
"@rsbuild/plugin-swc": "0.6.
|
|
74
|
+
"@rsbuild/plugin-swc": "0.6.8",
|
|
74
75
|
"@types/lodash": "^4.14.202",
|
|
75
76
|
"react": "^18.2.0",
|
|
76
77
|
"react-dom": "^18.2.0",
|
|
77
78
|
"typescript": "^5.3.0",
|
|
78
|
-
"@
|
|
79
|
-
"@scripts/vitest-config": "0.0.0-nightly-
|
|
80
|
-
"@scripts/build": "0.0.0-nightly-20240428170659"
|
|
79
|
+
"@scripts/build": "0.0.0-nightly-20240430170709",
|
|
80
|
+
"@scripts/vitest-config": "0.0.0-nightly-20240430170709"
|
|
81
81
|
},
|
|
82
82
|
"publishConfig": {
|
|
83
83
|
"access": "public",
|