@module-federation/runtime-tools 0.0.0-next-20241105130705 → 0.0.0-next-20241105211652

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/CHANGELOG.md CHANGED
@@ -1,23 +1,13 @@
1
1
  # @module-federation/runtime-tools
2
2
 
3
- ## 0.0.0-next-20241105130705
3
+ ## 0.0.0-next-20241105211652
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - @module-federation/runtime@0.0.0-next-20241105130705
8
- - @module-federation/webpack-bundler-runtime@0.0.0-next-20241105130705
9
-
10
- ## 0.7.0
11
-
12
- ### Minor Changes
13
-
14
- - 206b56d: disable hoistTransitiveImports for better tree shake
15
- - Updated dependencies [752537b]
7
+ - Updated dependencies [fb49d75]
16
8
  - Updated dependencies [54bfd1c]
17
- - Updated dependencies [879ad87]
18
- - Updated dependencies [206b56d]
19
- - @module-federation/runtime@0.7.0
20
- - @module-federation/webpack-bundler-runtime@0.7.0
9
+ - @module-federation/runtime@0.0.0-next-20241105211652
10
+ - @module-federation/webpack-bundler-runtime@0.0.0-next-20241105211652
21
11
 
22
12
  ## 0.6.16
23
13
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/runtime-tools",
3
- "version": "0.7.0",
3
+ "version": "0.6.16",
4
4
  "author": "zhanghang <hanric.zhang@gmail.com>",
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js",
@@ -12,17 +12,17 @@
12
12
  "exports": {
13
13
  ".": {
14
14
  "types": "./dist/index.cjs.d.ts",
15
- "import": "./dist/index.esm.mjs",
15
+ "import": "./dist/index.esm.js",
16
16
  "require": "./dist/index.cjs.js"
17
17
  },
18
18
  "./runtime": {
19
19
  "types": "./dist/runtime.cjs.d.ts",
20
- "import": "./dist/runtime.esm.mjs",
20
+ "import": "./dist/runtime.esm.js",
21
21
  "require": "./dist/runtime.cjs.js"
22
22
  },
23
23
  "./webpack-bundler-runtime": {
24
24
  "types": "./dist/webpack-bundler-runtime.cjs.d.ts",
25
- "import": "./dist/webpack-bundler-runtime.esm.mjs",
25
+ "import": "./dist/webpack-bundler-runtime.esm.js",
26
26
  "require": "./dist/webpack-bundler-runtime.cjs.js"
27
27
  },
28
28
  "./*": "./*"
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@module-federation/runtime-tools",
3
- "version": "0.0.0-next-20241105130705",
3
+ "version": "0.0.0-next-20241105211652",
4
4
  "author": "zhanghang <hanric.zhang@gmail.com>",
5
5
  "main": "./dist/index.cjs",
6
- "module": "./dist/index.esm.mjs",
6
+ "module": "./dist/index.esm.js",
7
7
  "types": "./dist/index.cjs.d.ts",
8
8
  "license": "MIT",
9
9
  "publishConfig": {
@@ -12,17 +12,17 @@
12
12
  "exports": {
13
13
  ".": {
14
14
  "types": "./dist/index.cjs.d.ts",
15
- "import": "./dist/index.esm.mjs",
15
+ "import": "./dist/index.esm.js",
16
16
  "require": "./dist/index.cjs.js"
17
17
  },
18
18
  "./runtime": {
19
19
  "types": "./dist/runtime.cjs.d.ts",
20
- "import": "./dist/runtime.esm.mjs",
20
+ "import": "./dist/runtime.esm.js",
21
21
  "require": "./dist/runtime.cjs.js"
22
22
  },
23
23
  "./webpack-bundler-runtime": {
24
24
  "types": "./dist/webpack-bundler-runtime.cjs.d.ts",
25
- "import": "./dist/webpack-bundler-runtime.esm.mjs",
25
+ "import": "./dist/webpack-bundler-runtime.esm.js",
26
26
  "require": "./dist/webpack-bundler-runtime.cjs.js"
27
27
  },
28
28
  "./*": "./*"
@@ -41,7 +41,7 @@
41
41
  }
42
42
  },
43
43
  "dependencies": {
44
- "@module-federation/runtime": "0.0.0-next-20241105130705",
45
- "@module-federation/webpack-bundler-runtime": "0.0.0-next-20241105130705"
44
+ "@module-federation/runtime": "0.0.0-next-20241105211652",
45
+ "@module-federation/webpack-bundler-runtime": "0.0.0-next-20241105211652"
46
46
  }
47
47
  }
package/rollup.config.js CHANGED
@@ -11,27 +11,11 @@ module.exports = (rollupConfig) => {
11
11
  rollupConfig.output = rollupConfig.output.map((c) => ({
12
12
  ...c,
13
13
  hoistTransitiveImports: false,
14
- entryFileNames:
15
- c.format === 'esm'
16
- ? c.entryFileNames.replace('.js', '.mjs')
17
- : c.entryFileNames,
18
- chunkFileNames:
19
- c.format === 'esm'
20
- ? c.chunkFileNames.replace('.js', '.mjs')
21
- : c.chunkFileNames,
22
14
  }));
23
15
  } else {
24
16
  rollupConfig.output = {
25
17
  ...rollupConfig.output,
26
18
  hoistTransitiveImports: false,
27
- entryFileNames:
28
- rollupConfig.output.format === 'esm'
29
- ? rollupConfig.output.entryFileNames.replace('.js', '.mjs')
30
- : rollupConfig.output.entryFileNames,
31
- chunkFileNames:
32
- rollupConfig.output.format === 'esm'
33
- ? rollupConfig.output.chunkFileNames.replace('.js', '.mjs')
34
- : rollupConfig.output.chunkFileNames,
35
19
  };
36
20
  }
37
21
 
File without changes
File without changes