@softarc/native-federation
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "@softarc/native-federation", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"type": "commonjs", | ||
"dependencies": { | ||
"@softarc/native-federation-runtime": "2.0.2", | ||
"@softarc/native-federation-runtime": "2.0.3", | ||
"json5": "^2.2.0", | ||
@@ -8,0 +8,0 @@ "npmlog": "^6.0.2", |
@@ -145,2 +145,6 @@ "use strict"; | ||
} | ||
const entry = getDefaultEntry(exports, key); | ||
if ((entry === null || entry === void 0 ? void 0 : entry.endsWith('.css')) || (entry === null || entry === void 0 ? void 0 : entry.endsWith('.scss')) || (entry === null || entry === void 0 ? void 0 : entry.endsWith('.less'))) { | ||
continue; | ||
} | ||
result[secondaryName] = Object.assign({}, shareObject); | ||
@@ -150,2 +154,13 @@ } | ||
} | ||
function getDefaultEntry(exports, key) { | ||
var _a; | ||
let entry = ''; | ||
if (typeof exports[key] === 'string') { | ||
entry = exports[key]; | ||
} | ||
else { | ||
entry = (_a = exports[key]) === null || _a === void 0 ? void 0 : _a['default']; | ||
} | ||
return entry; | ||
} | ||
function shareAll(config = {}, skip = default_skip_list_1.DEFAULT_SKIP_LIST, projectPath = '') { | ||
@@ -152,0 +167,0 @@ // let workspacePath: string | undefined = undefined; |
Sorry, the diff of this file is not supported yet
114039
1416
+ Added@softarc/native-federation-runtime@2.0.3(transitive)
- Removed@softarc/native-federation-runtime@2.0.2(transitive)