@modern-js/uni-builder 2.67.8 → 2.67.9
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.d.ts +1 -0
- package/dist/index.js +5 -2
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -9,3 +9,4 @@ export declare function createUniBuilder(options: CreateUniBuilderOptions): Prom
|
|
|
9
9
|
export { logger, type ConfigChain, type RsbuildPlugin, type ChainIdentifier, type RspackChain, type Rspack, type RsbuildContext, type RsbuildConfig, type RsbuildTarget, type NormalizedConfig, } from '@rsbuild/core';
|
|
10
10
|
export type { webpack, WebpackConfig } from '@rsbuild/webpack';
|
|
11
11
|
export { RUNTIME_CHUNK_NAME, SERVICE_WORKER_ENVIRONMENT_NAME, isHtmlDisabled, castArray, } from './shared/utils';
|
|
12
|
+
export { parseConfig as parseRspackConfig } from './rspack';
|
package/dist/index.js
CHANGED
|
@@ -34,7 +34,8 @@ __export(src_exports, {
|
|
|
34
34
|
castArray: () => import_utils.castArray,
|
|
35
35
|
createUniBuilder: () => createUniBuilder,
|
|
36
36
|
isHtmlDisabled: () => import_utils.isHtmlDisabled,
|
|
37
|
-
logger: () => import_core.logger
|
|
37
|
+
logger: () => import_core.logger,
|
|
38
|
+
parseRspackConfig: () => import_rspack2.parseConfig
|
|
38
39
|
});
|
|
39
40
|
module.exports = __toCommonJS(src_exports);
|
|
40
41
|
var import_html_webpack_plugin = __toESM(require("html-webpack-plugin"));
|
|
@@ -42,6 +43,7 @@ var import_rspack = require("./rspack");
|
|
|
42
43
|
var import_webpack = require("./webpack");
|
|
43
44
|
var import_core = require("@rsbuild/core");
|
|
44
45
|
var import_utils = require("./shared/utils");
|
|
46
|
+
var import_rspack2 = require("./rspack");
|
|
45
47
|
async function createUniBuilder(options) {
|
|
46
48
|
return options.bundlerType === "rspack" ? (0, import_rspack.createRspackBuilder)(options) : (0, import_webpack.createWebpackBuilder)(options);
|
|
47
49
|
}
|
|
@@ -53,5 +55,6 @@ async function createUniBuilder(options) {
|
|
|
53
55
|
castArray,
|
|
54
56
|
createUniBuilder,
|
|
55
57
|
isHtmlDisabled,
|
|
56
|
-
logger
|
|
58
|
+
logger,
|
|
59
|
+
parseRspackConfig
|
|
57
60
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/uni-builder",
|
|
3
|
-
"version": "2.67.
|
|
3
|
+
"version": "2.67.9",
|
|
4
4
|
"description": "Unified builder for Modern.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@rsbuild/plugin-styled-components": "1.3.0",
|
|
45
45
|
"@rsbuild/plugin-svgr": "1.2.0",
|
|
46
46
|
"@rsbuild/plugin-toml": "1.1.0",
|
|
47
|
-
"@rsbuild/plugin-type-check": "1.2.
|
|
47
|
+
"@rsbuild/plugin-type-check": "1.2.3",
|
|
48
48
|
"@rsbuild/plugin-typed-css-modules": "1.0.2",
|
|
49
49
|
"@rsbuild/plugin-yaml": "1.0.2",
|
|
50
50
|
"@rsbuild/webpack": "1.3.2",
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
"ts-loader": "9.4.4",
|
|
81
81
|
"webpack": "^5.99.8",
|
|
82
82
|
"webpack-subresource-integrity": "5.1.0",
|
|
83
|
-
"@modern-js/babel-preset": "2.67.
|
|
84
|
-
"@modern-js/
|
|
85
|
-
"@modern-js/
|
|
83
|
+
"@modern-js/babel-preset": "2.67.9",
|
|
84
|
+
"@modern-js/utils": "2.67.9",
|
|
85
|
+
"@modern-js/flight-server-transform-plugin": "2.67.9"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@rsbuild/plugin-webpack-swc": "1.1.1",
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
"react-dom": "^18.2.0",
|
|
94
94
|
"terser": "^5.31.1",
|
|
95
95
|
"typescript": "^5.3.0",
|
|
96
|
-
"@modern-js/types": "2.67.8",
|
|
97
96
|
"@scripts/build": "2.66.0",
|
|
97
|
+
"@modern-js/types": "2.67.9",
|
|
98
98
|
"@scripts/vitest-config": "2.66.0"
|
|
99
99
|
},
|
|
100
100
|
"publishConfig": {
|