@modern-js/builder 3.1.0 → 3.1.2
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/esm/index.mjs +3 -4
- package/dist/esm/shared/rsc/rsc-server-entry-loader.mjs +1 -1
- package/dist/esm/shared/rsc/rscEmptyModule.mjs +1 -1
- package/dist/esm-node/index.mjs +3 -4
- package/dist/esm-node/plugins/rscConfig.mjs +1 -1
- package/dist/esm-node/shared/rsc/rsc-server-entry-loader.mjs +1 -1
- package/dist/esm-node/shared/rsc/rscClientBrowserFallback.mjs +1 -1
- package/dist/esm-node/shared/rsc/rscEmptyModule.mjs +1 -1
- package/package.json +7 -7
package/dist/esm/index.mjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { RUNTIME_CHUNK_NAME, RUNTIME_CHUNK_REGEX, SERVICE_WORKER_ENVIRONMENT_NAME, castArray, createRspackBuilder as createBuilder, isHtmlDisabled, logger, parseConfig as parseRspackConfig };
|
|
1
|
+
export { createRspackBuilder as createBuilder, parseConfig as parseRspackConfig } from "./createBuilder.mjs";
|
|
2
|
+
export { logger } from "@rsbuild/core";
|
|
3
|
+
export { RUNTIME_CHUNK_NAME, RUNTIME_CHUNK_REGEX, SERVICE_WORKER_ENVIRONMENT_NAME, castArray, isHtmlDisabled } from "./shared/utils.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const rscEmptyModule = {};
|
|
2
|
-
export
|
|
2
|
+
export default rscEmptyModule;
|
package/dist/esm-node/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "node:module";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export { RUNTIME_CHUNK_NAME, RUNTIME_CHUNK_REGEX, SERVICE_WORKER_ENVIRONMENT_NAME, castArray, createRspackBuilder as createBuilder, isHtmlDisabled, logger, parseConfig as parseRspackConfig };
|
|
2
|
+
export { createRspackBuilder as createBuilder, parseConfig as parseRspackConfig } from "./createBuilder.mjs";
|
|
3
|
+
export { logger } from "@rsbuild/core";
|
|
4
|
+
export { RUNTIME_CHUNK_NAME, RUNTIME_CHUNK_REGEX, SERVICE_WORKER_ENVIRONMENT_NAME, castArray, isHtmlDisabled } from "./shared/utils.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import __rslib_shim_module__ from "node:module";
|
|
2
2
|
const require = /*#__PURE__*/ __rslib_shim_module__.createRequire(/*#__PURE__*/ (()=>import.meta.url)());
|
|
3
|
+
import path from "path";
|
|
3
4
|
import { fileURLToPath as __rspack_fileURLToPath } from "node:url";
|
|
4
5
|
import { dirname as __rspack_dirname } from "node:path";
|
|
5
|
-
import path from "path";
|
|
6
6
|
var rscConfig_dirname = __rspack_dirname(__rspack_fileURLToPath(import.meta.url));
|
|
7
7
|
const ASYNC_STORAGE_PATTERN = /universal[/\\]async_storage/;
|
|
8
8
|
const RSC_COMMON_LAYER = 'rsc-common';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import __rslib_shim_module__ from "node:module";
|
|
2
2
|
const require = /*#__PURE__*/ __rslib_shim_module__.createRequire(/*#__PURE__*/ (()=>import.meta.url)());
|
|
3
|
+
import path from "path";
|
|
3
4
|
import { fileURLToPath as __rspack_fileURLToPath } from "node:url";
|
|
4
5
|
import { dirname as __rspack_dirname } from "node:path";
|
|
5
|
-
import path from "path";
|
|
6
6
|
var rscClientBrowserFallback_dirname = __rspack_dirname(__rspack_fileURLToPath(import.meta.url));
|
|
7
7
|
function rscClientBrowserFallbackPlugin() {
|
|
8
8
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/builder",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "A builder for Modern.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dist"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@rsbuild/core": "2.0.0-
|
|
29
|
+
"@rsbuild/core": "2.0.0-rc.0",
|
|
30
30
|
"@rsbuild/plugin-assets-retry": "1.5.1",
|
|
31
31
|
"@rsbuild/plugin-check-syntax": "1.6.1",
|
|
32
32
|
"@rsbuild/plugin-css-minimizer": "1.1.1",
|
|
@@ -57,18 +57,18 @@
|
|
|
57
57
|
"postcss-page-break": "3.0.4",
|
|
58
58
|
"rspack-manifest-plugin": "5.2.1",
|
|
59
59
|
"ts-deepmerge": "7.0.3",
|
|
60
|
-
"@modern-js/utils": "3.1.
|
|
60
|
+
"@modern-js/utils": "3.1.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@rslib/core": "0.
|
|
63
|
+
"@rslib/core": "0.20.3",
|
|
64
64
|
"@types/html-minifier-terser": "^7.0.2",
|
|
65
65
|
"@types/lodash": "^4.17.24",
|
|
66
66
|
"react": "^19.2.4",
|
|
67
|
-
"terser": "^5.46.
|
|
67
|
+
"terser": "^5.46.1",
|
|
68
68
|
"typescript": "^5.3.0",
|
|
69
69
|
"@modern-js/rslib": "2.68.10",
|
|
70
|
-
"@
|
|
71
|
-
"@
|
|
70
|
+
"@scripts/rstest-config": "2.66.0",
|
|
71
|
+
"@modern-js/types": "3.1.2"
|
|
72
72
|
},
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public",
|