@module-federation/runtime-tools
Advanced tools
Comparing version 0.0.0-next-20241105211652 to 0.0.0-next-20241106024856
@@ -15,3 +15,3 @@ { | ||
"types": "./dist/index.cjs.d.ts", | ||
"import": "./dist/index.esm.js", | ||
"import": "./dist/index.esm.mjs", | ||
"require": "./dist/index.cjs.js" | ||
@@ -21,3 +21,3 @@ }, | ||
"types": "./dist/runtime.cjs.d.ts", | ||
"import": "./dist/runtime.esm.js", | ||
"import": "./dist/runtime.esm.mjs", | ||
"require": "./dist/runtime.cjs.js" | ||
@@ -27,3 +27,3 @@ }, | ||
"types": "./dist/webpack-bundler-runtime.cjs.d.ts", | ||
"import": "./dist/webpack-bundler-runtime.esm.js", | ||
"import": "./dist/webpack-bundler-runtime.esm.mjs", | ||
"require": "./dist/webpack-bundler-runtime.cjs.js" | ||
@@ -30,0 +30,0 @@ }, |
{ | ||
"name": "@module-federation/runtime-tools", | ||
"version": "0.0.0-next-20241105211652", | ||
"version": "0.0.0-next-20241106024856", | ||
"author": "zhanghang <hanric.zhang@gmail.com>", | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.esm.js", | ||
"module": "./dist/index.esm.mjs", | ||
"types": "./dist/index.cjs.d.ts", | ||
@@ -15,3 +15,3 @@ "license": "MIT", | ||
"types": "./dist/index.cjs.d.ts", | ||
"import": "./dist/index.esm.js", | ||
"import": "./dist/index.esm.mjs", | ||
"require": "./dist/index.cjs.js" | ||
@@ -21,3 +21,3 @@ }, | ||
"types": "./dist/runtime.cjs.d.ts", | ||
"import": "./dist/runtime.esm.js", | ||
"import": "./dist/runtime.esm.mjs", | ||
"require": "./dist/runtime.cjs.js" | ||
@@ -27,3 +27,3 @@ }, | ||
"types": "./dist/webpack-bundler-runtime.cjs.d.ts", | ||
"import": "./dist/webpack-bundler-runtime.esm.js", | ||
"import": "./dist/webpack-bundler-runtime.esm.mjs", | ||
"require": "./dist/webpack-bundler-runtime.cjs.js" | ||
@@ -47,5 +47,5 @@ }, | ||
"dependencies": { | ||
"@module-federation/runtime": "0.0.0-next-20241105211652", | ||
"@module-federation/webpack-bundler-runtime": "0.0.0-next-20241105211652" | ||
"@module-federation/runtime": "0.0.0-next-20241106024856", | ||
"@module-federation/webpack-bundler-runtime": "0.0.0-next-20241106024856" | ||
} | ||
} |
@@ -14,2 +14,10 @@ module.exports = (rollupConfig) => { | ||
hoistTransitiveImports: false, | ||
entryFileNames: | ||
c.format === 'esm' | ||
? c.entryFileNames.replace('.js', '.mjs') | ||
: c.entryFileNames, | ||
chunkFileNames: | ||
c.format === 'esm' | ||
? c.chunkFileNames.replace('.js', '.mjs') | ||
: c.chunkFileNames, | ||
})); | ||
@@ -20,2 +28,10 @@ } else { | ||
hoistTransitiveImports: false, | ||
entryFileNames: | ||
rollupConfig.output.format === 'esm' | ||
? rollupConfig.output.entryFileNames.replace('.js', '.mjs') | ||
: rollupConfig.output.entryFileNames, | ||
chunkFileNames: | ||
rollupConfig.output.format === 'esm' | ||
? rollupConfig.output.chunkFileNames.replace('.js', '.mjs') | ||
: rollupConfig.output.chunkFileNames, | ||
}; | ||
@@ -22,0 +38,0 @@ } |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97272
270
+ Added@module-federation/error-codes@0.0.0-next-20241106024856(transitive)
+ Added@module-federation/runtime@0.0.0-next-20241106024856(transitive)
+ Added@module-federation/sdk@0.0.0-next-20241106024856(transitive)
+ Added@module-federation/webpack-bundler-runtime@0.0.0-next-20241106024856(transitive)
- Removed@module-federation/error-codes@0.6.14(transitive)
- Removed@module-federation/runtime@0.0.0-next-20241105211652(transitive)
- Removed@module-federation/sdk@0.0.0-next-20241105211652(transitive)
- Removed@module-federation/webpack-bundler-runtime@0.0.0-next-20241105211652(transitive)
Updated@module-federation/webpack-bundler-runtime@0.0.0-next-20241106024856