@alauda-fe/dynamic-plugin-sdk-rspack 0.0.1-alpha.3 → 0.0.1-alpha.5

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.
Files changed (2) hide show
  1. package/index.js +5 -2
  2. package/package.json +10 -6
package/index.js CHANGED
@@ -45,7 +45,10 @@ var with_alauda_console_default = async (options) => {
45
45
  config.resolve ??= {};
46
46
  config.resolve.alias ??= {};
47
47
  config.plugins ??= [];
48
- return customWebpack(config, options);
48
+ return customWebpack(config, {
49
+ injectEntry: false,
50
+ ...options
51
+ });
49
52
  };
50
53
  };
51
54
 
@@ -167,7 +170,7 @@ var with_monaco_editor_default = () => (config) => {
167
170
  };
168
171
 
169
172
  // libs/dynamic-plugin-sdk-rspack/src/lib/with-remote-mfe-config.ts
170
- import { execSync } from "child_process";
173
+ import { execSync } from "node:child_process";
171
174
  import { withModuleFederation as withModuleFederation2 } from "@nx/module-federation/rspack";
172
175
  import { merge as merge4 } from "rspack-merge";
173
176
  var generateName = (name) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda-fe/dynamic-plugin-sdk-rspack",
3
- "version": "0.0.1-alpha.3",
3
+ "version": "0.0.1-alpha.5",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
@@ -8,13 +8,17 @@
8
8
  "access": "public"
9
9
  },
10
10
  "peerDependencies": {
11
- "css-loader": ">=6.0.0",
12
- "monaco-editor-webpack-plugin": "^7.1.1",
13
- "style-loader": ">=3.0.0"
11
+ "@rspack/core": "^1.0.0 || ^2.0.0",
12
+ "@rspack/dev-server": "^1.0.0 || ^2.0.0"
14
13
  },
15
14
  "dependencies": {
16
- "@rspack/core": "1.6.8",
17
- "@rspack/dev-server": "1.2.1"
15
+ "@alauda/custom-webpack": "^5.3.2",
16
+ "@nx/module-federation": "^22.7.5",
17
+ "css-loader": ">=6.0.0",
18
+ "monaco-editor-webpack-plugin": "^7.1.1",
19
+ "rspack-merge": "^1.0.1",
20
+ "style-loader": ">=3.0.0",
21
+ "yaml-loader": ">=0.8.0"
18
22
  },
19
23
  "packageManager": "yarn@4.16.0",
20
24
  "resolutions": {