@module-federation/enhanced 0.1.10 → 0.1.11

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/package.json CHANGED
@@ -1,18 +1,24 @@
1
1
  {
2
2
  "name": "@module-federation/enhanced",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "main": "./src/index.js",
5
5
  "types": "./dist/src/index.d.ts",
6
6
  "files": [
7
7
  "dist/",
8
8
  "README.md"
9
9
  ],
10
+ "type": "commonjs",
10
11
  "publishConfig": {
11
12
  "access": "public"
12
13
  },
13
14
  "peerDependencies": {
14
15
  "webpack": "^5.0.0"
15
16
  },
17
+ "peerDependenciesMeta": {
18
+ "webpack": {
19
+ "optional": true
20
+ }
21
+ },
16
22
  "exports": {
17
23
  ".": {
18
24
  "types": "./dist/src/index.d.ts",
@@ -62,6 +68,5 @@
62
68
  "@module-federation/dts-plugin": "workspace:*",
63
69
  "@module-federation/rspack": "workspace:*",
64
70
  "upath": "2.0.1"
65
- },
66
- "type": "commonjs"
71
+ }
67
72
  }
@@ -1 +1,2 @@
1
- export { default as ModuleFederationPlugin } from './wrapper/ModuleFederationPlugin';
1
+ import { default as ModuleFederationPlugin } from './wrapper/ModuleFederationPlugin';
2
+ export { ModuleFederationPlugin };
@@ -4,6 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ModuleFederationPlugin = void 0;
7
- var ModuleFederationPlugin_1 = require("./wrapper/ModuleFederationPlugin");
8
- Object.defineProperty(exports, "ModuleFederationPlugin", { enumerable: true, get: function () { return __importDefault(ModuleFederationPlugin_1).default; } });
7
+ const ModuleFederationPlugin_1 = __importDefault(require("./wrapper/ModuleFederationPlugin"));
8
+ Object.defineProperty(exports, "ModuleFederationPlugin", { enumerable: true, get: function () { return ModuleFederationPlugin_1.default; } });
9
9
  //# sourceMappingURL=webpack.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"webpack.js","sourceRoot":"","sources":["../../src/webpack.ts"],"names":[],"mappings":";;;;;;AAAA,2EAAqF;AAA5E,iJAAA,OAAO,OAA0B"}
1
+ {"version":3,"file":"webpack.js","sourceRoot":"","sources":["../../src/webpack.ts"],"names":[],"mappings":";;;;;;AAAA,8FAAqF;AAC5E,uGADW,gCAAsB,OACX"}
package/package.json CHANGED
@@ -1,18 +1,24 @@
1
1
  {
2
2
  "name": "@module-federation/enhanced",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "main": "./dist/src/index.js",
5
5
  "types": "./dist/src/index.d.ts",
6
6
  "files": [
7
7
  "dist/",
8
8
  "README.md"
9
9
  ],
10
+ "type": "commonjs",
10
11
  "publishConfig": {
11
12
  "access": "public"
12
13
  },
13
14
  "peerDependencies": {
14
15
  "webpack": "^5.0.0"
15
16
  },
17
+ "peerDependenciesMeta": {
18
+ "webpack": {
19
+ "optional": true
20
+ }
21
+ },
16
22
  "exports": {
17
23
  ".": {
18
24
  "types": "./dist/src/index.d.ts",
@@ -52,15 +58,15 @@
52
58
  }
53
59
  },
54
60
  "devDependencies": {
55
- "@module-federation/webpack-bundler-runtime": "0.1.10"
61
+ "@module-federation/webpack-bundler-runtime": "0.1.11"
56
62
  },
57
63
  "dependencies": {
58
64
  "upath": "2.0.1",
59
- "@module-federation/sdk": "0.1.10",
60
- "@module-federation/runtime-tools": "0.1.10",
61
- "@module-federation/manifest": "0.1.10",
62
- "@module-federation/managers": "0.1.10",
63
- "@module-federation/dts-plugin": "0.1.10",
64
- "@module-federation/rspack": "0.1.10"
65
+ "@module-federation/sdk": "0.1.11",
66
+ "@module-federation/runtime-tools": "0.1.11",
67
+ "@module-federation/manifest": "0.1.11",
68
+ "@module-federation/managers": "0.1.11",
69
+ "@module-federation/dts-plugin": "0.1.11",
70
+ "@module-federation/rspack": "0.1.11"
65
71
  }
66
72
  }