@softarc/native-federation
Advanced tools
Comparing version 2.0.20 to 2.0.21
{ | ||
"name": "@softarc/native-federation", | ||
"version": "2.0.20", | ||
"version": "2.0.21", | ||
"type": "commonjs", | ||
@@ -9,3 +9,3 @@ "license": "MIT", | ||
"npmlog": "^6.0.2", | ||
"@softarc/native-federation-runtime": "2.0.20" | ||
"@softarc/native-federation-runtime": "2.0.21" | ||
}, | ||
@@ -12,0 +12,0 @@ "types": "./src/index.d.ts", |
@@ -13,2 +13,3 @@ "use strict"; | ||
const crypto_1 = tslib_1.__importDefault(require("crypto")); | ||
const default_external_list_1 = require("./default-external-list"); | ||
function bundleShared(sharedBundles_1, config_1, fedOptions_1, externals_1) { | ||
@@ -51,2 +52,3 @@ return tslib_1.__awaiter(this, arguments, void 0, function* (sharedBundles, config, fedOptions, externals, platform = 'browser') { | ||
} | ||
const additionalExternals = platform === 'browser' ? default_external_list_1.DEFAULT_EXTERNAL_LIST : []; | ||
try { | ||
@@ -56,3 +58,6 @@ yield (0, build_utils_1.bundle)({ | ||
tsConfigPath: fedOptions.tsConfig, | ||
external: externals, | ||
external: [ | ||
...additionalExternals, | ||
...externals | ||
], | ||
outdir: cachePath, | ||
@@ -90,2 +95,3 @@ mappedPaths: config.sharedMappings, | ||
logger_1.logger.verbose(e); | ||
throw e; | ||
} | ||
@@ -92,0 +98,0 @@ const outFileNames = [...exptedResults]; |
Sorry, the diff of this file is not supported yet
137640
93
1696
+ Added@softarc/native-federation-runtime@2.0.21(transitive)
- Removed@softarc/native-federation-runtime@2.0.20(transitive)