@softarc/native-federation
Advanced tools
Comparing version 2.0.4 to 2.0.5
{ | ||
"name": "@softarc/native-federation", | ||
"version": "2.0.4", | ||
"type": "commonjs", | ||
"version": "2.0.5", | ||
"dependencies": { | ||
"@softarc/native-federation-runtime": "2.0.4", | ||
"json5": "^2.2.0", | ||
"npmlog": "^6.0.2", | ||
"process": "0.11.10" | ||
"@softarc/native-federation-runtime": "2.0.5" | ||
}, | ||
"main": "./src/index.js", | ||
"types": "./src/index.d.ts" | ||
"main": "./src/index.js" | ||
} |
@@ -12,2 +12,3 @@ export { NormalizedFederationConfig } from './lib/config/federation-config'; | ||
export { buildForFederation } from './lib/core/build-for-federation'; | ||
export { bundleExposedAndMappings } from './lib/core/bundle-exposed-and-mappings'; | ||
export { share, shareAll, findRootTsConfigJson, } from './lib/config/share-utils'; | ||
@@ -14,0 +15,0 @@ export { federationBuilder, BuildHelperParams, } from './lib/core/federation-builder'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.hashFile = exports.setLogLevel = exports.logger = exports.federationBuilder = exports.findRootTsConfigJson = exports.shareAll = exports.share = exports.buildForFederation = exports.withNativeFederation = exports.loadFederationConfig = exports.getExternals = exports.writeFederationInfo = exports.writeImportMap = exports.setBuildAdapter = void 0; | ||
exports.hashFile = exports.setLogLevel = exports.logger = exports.federationBuilder = exports.findRootTsConfigJson = exports.shareAll = exports.share = exports.bundleExposedAndMappings = exports.buildForFederation = exports.withNativeFederation = exports.loadFederationConfig = exports.getExternals = exports.writeFederationInfo = exports.writeImportMap = exports.setBuildAdapter = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -19,2 +19,4 @@ var build_adapter_1 = require("./lib/core/build-adapter"); | ||
Object.defineProperty(exports, "buildForFederation", { enumerable: true, get: function () { return build_for_federation_1.buildForFederation; } }); | ||
var bundle_exposed_and_mappings_1 = require("./lib/core/bundle-exposed-and-mappings"); | ||
Object.defineProperty(exports, "bundleExposedAndMappings", { enumerable: true, get: function () { return bundle_exposed_and_mappings_1.bundleExposedAndMappings; } }); | ||
var share_utils_1 = require("./lib/config/share-utils"); | ||
@@ -21,0 +23,0 @@ Object.defineProperty(exports, "share", { enumerable: true, get: function () { return share_utils_1.share; } }); |
@@ -146,3 +146,5 @@ "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'))) { | ||
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; | ||
@@ -149,0 +151,0 @@ } |
@@ -63,3 +63,13 @@ "use strict"; | ||
logger_1.logger.error('For more information, run in verbose mode'); | ||
logger_1.logger.notice(`If you don't need this package, skip it in your federation.config.js!`); | ||
logger_1.logger.notice(''); | ||
logger_1.logger.notice(''); | ||
logger_1.logger.notice('** Important Information: ***'); | ||
logger_1.logger.notice('The error message above shows an issue with bundling a node_module.'); | ||
logger_1.logger.notice('In most cases this is because you (indirectly) shared a Node.js package,'); | ||
logger_1.logger.notice('while Native Federation builds for the browser.'); | ||
logger_1.logger.notice('You can move such packages into devDependencies or skip them in your federation.config.js.'); | ||
logger_1.logger.notice(''); | ||
logger_1.logger.notice('More Details: https://bit.ly/nf-issue'); | ||
logger_1.logger.notice(''); | ||
logger_1.logger.notice(''); | ||
logger_1.logger.verbose(e); | ||
@@ -66,0 +76,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
115489
3
1431
+ Added@softarc/native-federation-runtime@2.0.5(transitive)
- Removedprocess@0.11.10
- Removed@softarc/native-federation-runtime@2.0.4(transitive)
- Removedprocess@0.11.10(transitive)