Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.116.112.164
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
webpack /
lib /
container /
Delete
Unzip
Name
Size
Permission
Date
Action
ContainerEntryDependency.js
1.07
KB
-rw-rw-r--
2022-08-30 11:49
ContainerEntryModule.js
8.2
KB
-rw-rw-r--
2022-08-30 11:49
ContainerEntryModuleFactory.js
1011
B
-rw-rw-r--
2022-08-30 11:49
ContainerExposedDependency.js
1.13
KB
-rw-rw-r--
2022-08-30 11:49
ContainerPlugin.js
2.63
KB
-rw-rw-r--
2022-08-30 11:49
ContainerReferencePlugin.js
4.2
KB
-rw-rw-r--
2022-08-30 11:49
FallbackDependency.js
955
B
-rw-rw-r--
2022-08-30 11:49
FallbackItemDependency.js
571
B
-rw-rw-r--
2022-08-30 11:49
FallbackModule.js
5.28
KB
-rw-rw-r--
2022-08-30 11:49
FallbackModuleFactory.js
944
B
-rw-rw-r--
2022-08-30 11:49
ModuleFederationPlugin.js
2.77
KB
-rw-rw-r--
2022-08-30 11:49
RemoteModule.js
5.19
KB
-rw-rw-r--
2022-08-30 11:49
RemoteRuntimeModule.js
4.05
KB
-rw-rw-r--
2022-08-30 11:49
RemoteToExternalDependency.js
592
B
-rw-rw-r--
2022-08-30 11:49
options.js
2.58
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra and Zackary Jackson @ScriptedAlchemy */ "use strict"; const isValidExternalsType = require("../../schemas/plugins/container/ExternalsType.check.js"); const SharePlugin = require("../sharing/SharePlugin"); const createSchemaValidation = require("../util/create-schema-validation"); const ContainerPlugin = require("./ContainerPlugin"); const ContainerReferencePlugin = require("./ContainerReferencePlugin"); /** @typedef {import("../../declarations/plugins/container/ModuleFederationPlugin").ExternalsType} ExternalsType */ /** @typedef {import("../../declarations/plugins/container/ModuleFederationPlugin").ModuleFederationPluginOptions} ModuleFederationPluginOptions */ /** @typedef {import("../../declarations/plugins/container/ModuleFederationPlugin").Shared} Shared */ /** @typedef {import("../Compiler")} Compiler */ const validate = createSchemaValidation( require("../../schemas/plugins/container/ModuleFederationPlugin.check.js"), () => require("../../schemas/plugins/container/ModuleFederationPlugin.json"), { name: "Module Federation Plugin", baseDataPath: "options" } ); class ModuleFederationPlugin { /** * @param {ModuleFederationPluginOptions} options options */ constructor(options) { validate(options); this._options = options; } /** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { const { _options: options } = this; const library = options.library || { type: "var", name: options.name }; const remoteType = options.remoteType || (options.library && isValidExternalsType(options.library.type) ? /** @type {ExternalsType} */ (options.library.type) : "script"); if ( library && !compiler.options.output.enabledLibraryTypes.includes(library.type) ) { compiler.options.output.enabledLibraryTypes.push(library.type); } compiler.hooks.afterPlugins.tap("ModuleFederationPlugin", () => { if ( options.exposes && (Array.isArray(options.exposes) ? options.exposes.length > 0 : Object.keys(options.exposes).length > 0) ) { new ContainerPlugin({ name: options.name, library, filename: options.filename, runtime: options.runtime, exposes: options.exposes }).apply(compiler); } if ( options.remotes && (Array.isArray(options.remotes) ? options.remotes.length > 0 : Object.keys(options.remotes).length > 0) ) { new ContainerReferencePlugin({ remoteType, remotes: options.remotes }).apply(compiler); } if (options.shared) { new SharePlugin({ shared: options.shared, shareScope: options.shareScope }).apply(compiler); } }); } } module.exports = ModuleFederationPlugin;