@modern-js/uni-builder 0.0.0-nightly-20240613170702 → 0.0.0-nightly-20240615170633
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
CHANGED
|
@@ -4,10 +4,10 @@ import type { CreateUniBuilderOptions } from './types';
|
|
|
4
4
|
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
5
5
|
export { HtmlWebpackPlugin };
|
|
6
6
|
export type { CreateUniBuilderOptions, UniBuilderInstance, UniBuilderWebpackInstance, };
|
|
7
|
-
export type {
|
|
7
|
+
export type { RspackChain, RsbuildPlugin, ConfigChain, CopyPluginOptions, ChainIdentifier, NormalizedConfig, RspackConfig, CacheGroup, } from '@rsbuild/shared';
|
|
8
8
|
export type { UniBuilderConfig, UniBuilderPlugin } from './types';
|
|
9
9
|
export type { StartDevServerOptions } from './shared/devServer';
|
|
10
10
|
export declare function createUniBuilder(options: CreateUniBuilderOptions): Promise<UniBuilderInstance>;
|
|
11
11
|
export { logger, type Rspack, type RsbuildContext, type RsbuildConfig, } from '@rsbuild/core';
|
|
12
|
-
export type { webpack,
|
|
12
|
+
export type { webpack, WebpackConfig } from '@rsbuild/webpack';
|
|
13
13
|
export { RUNTIME_CHUNK_NAME } from './shared/constants';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Rspack } from '@rsbuild/shared';
|
|
2
2
|
export declare const generateManifest: (seed: Record<string, any>, files: Array<{
|
|
3
|
-
chunk?: Chunk;
|
|
3
|
+
chunk?: Rspack.Chunk;
|
|
4
4
|
name: string;
|
|
5
5
|
path: string;
|
|
6
6
|
}>, entries: Record<string, string[]>) => {
|
|
@@ -59,7 +59,6 @@ const pluginSplitChunks = () => ({
|
|
|
59
59
|
chain.optimization.splitChunks({
|
|
60
60
|
...currentConfig,
|
|
61
61
|
// rspack chunks type mismatch with webpack
|
|
62
|
-
// @ts-expect-error
|
|
63
62
|
cacheGroups: {
|
|
64
63
|
...(0, import_shared.createCacheGroups)(groups),
|
|
65
64
|
...currentConfig.cacheGroups
|
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-20240615170633",
|
|
4
4
|
"description": "Unified builder for Modern.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,26 +26,26 @@
|
|
|
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.7.
|
|
30
|
-
"@rsbuild/core": "0.7.
|
|
31
|
-
"@rsbuild/plugin-sass": "0.7.
|
|
32
|
-
"@rsbuild/plugin-less": "0.7.
|
|
33
|
-
"@rsbuild/plugin-assets-retry": "0.7.
|
|
34
|
-
"@rsbuild/plugin-babel": "0.7.
|
|
35
|
-
"@rsbuild/plugin-check-syntax": "0.7.
|
|
36
|
-
"@rsbuild/plugin-css-minimizer": "0.7.
|
|
37
|
-
"@rsbuild/plugin-pug": "0.7.
|
|
38
|
-
"@rsbuild/plugin-react": "0.7.
|
|
39
|
-
"@rsbuild/plugin-rem": "0.7.
|
|
40
|
-
"@rsbuild/plugin-source-build": "0.7.
|
|
41
|
-
"@rsbuild/plugin-styled-components": "0.7.
|
|
42
|
-
"@rsbuild/plugin-svgr": "0.7.
|
|
43
|
-
"@rsbuild/plugin-type-check": "0.7.
|
|
44
|
-
"@rsbuild/plugin-typed-css-modules": "0.7.
|
|
45
|
-
"@rsbuild/plugin-toml": "0.7.
|
|
46
|
-
"@rsbuild/plugin-yaml": "0.7.
|
|
47
|
-
"@rsbuild/shared": "0.7.
|
|
48
|
-
"@rsbuild/webpack": "0.7.
|
|
29
|
+
"@rsbuild/babel-preset": "0.7.7",
|
|
30
|
+
"@rsbuild/core": "0.7.7",
|
|
31
|
+
"@rsbuild/plugin-sass": "0.7.7",
|
|
32
|
+
"@rsbuild/plugin-less": "0.7.7",
|
|
33
|
+
"@rsbuild/plugin-assets-retry": "0.7.7",
|
|
34
|
+
"@rsbuild/plugin-babel": "0.7.7",
|
|
35
|
+
"@rsbuild/plugin-check-syntax": "0.7.7",
|
|
36
|
+
"@rsbuild/plugin-css-minimizer": "0.7.7",
|
|
37
|
+
"@rsbuild/plugin-pug": "0.7.7",
|
|
38
|
+
"@rsbuild/plugin-react": "0.7.7",
|
|
39
|
+
"@rsbuild/plugin-rem": "0.7.7",
|
|
40
|
+
"@rsbuild/plugin-source-build": "0.7.7",
|
|
41
|
+
"@rsbuild/plugin-styled-components": "0.7.7",
|
|
42
|
+
"@rsbuild/plugin-svgr": "0.7.7",
|
|
43
|
+
"@rsbuild/plugin-type-check": "0.7.7",
|
|
44
|
+
"@rsbuild/plugin-typed-css-modules": "0.7.7",
|
|
45
|
+
"@rsbuild/plugin-toml": "0.7.7",
|
|
46
|
+
"@rsbuild/plugin-yaml": "0.7.7",
|
|
47
|
+
"@rsbuild/shared": "0.7.7",
|
|
48
|
+
"@rsbuild/webpack": "0.7.7",
|
|
49
49
|
"@swc/helpers": "0.5.3",
|
|
50
50
|
"babel-loader": "9.1.3",
|
|
51
51
|
"babel-plugin-import": "1.13.5",
|
|
@@ -67,20 +67,20 @@
|
|
|
67
67
|
"rspack-manifest-plugin": "5.0.0",
|
|
68
68
|
"terser-webpack-plugin": "5.3.10",
|
|
69
69
|
"ts-loader": "9.4.4",
|
|
70
|
-
"webpack": "^5.
|
|
70
|
+
"webpack": "^5.92.0",
|
|
71
71
|
"webpack-subresource-integrity": "5.1.0",
|
|
72
|
-
"@modern-js/server": "0.0.0-nightly-
|
|
73
|
-
"@modern-js/
|
|
74
|
-
"@modern-js/
|
|
72
|
+
"@modern-js/server": "0.0.0-nightly-20240615170633",
|
|
73
|
+
"@modern-js/utils": "0.0.0-nightly-20240615170633",
|
|
74
|
+
"@modern-js/prod-server": "0.0.0-nightly-20240615170633"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@rsbuild/plugin-swc": "0.7.
|
|
77
|
+
"@rsbuild/plugin-swc": "0.7.7",
|
|
78
78
|
"@types/lodash": "^4.14.202",
|
|
79
79
|
"react": "^18.2.0",
|
|
80
80
|
"react-dom": "^18.2.0",
|
|
81
81
|
"typescript": "^5.3.0",
|
|
82
|
-
"@scripts/build": "0.0.0-nightly-
|
|
83
|
-
"@scripts/vitest-config": "0.0.0-nightly-
|
|
82
|
+
"@scripts/build": "0.0.0-nightly-20240615170633",
|
|
83
|
+
"@scripts/vitest-config": "0.0.0-nightly-20240615170633"
|
|
84
84
|
},
|
|
85
85
|
"publishConfig": {
|
|
86
86
|
"access": "public",
|