repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11856/test.config.js
test/configCases/graph/issue-11856/test.config.js
"use strict"; module.exports = { findBundle() { return ["shared.js", "a.js", "b.js"]; } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11856/shared-d.js
test/configCases/graph/issue-11856/shared-d.js
export const value = 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11856/webpack.config.js
test/configCases/graph/issue-11856/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { entry: { a: "./a", b: "./b" }, target: "web", output: { filename: "[name].js", library: { type: "commonjs-module" } }, optimization: { usedExports: true, concatenateModules: true, splitChunks: { cacheGroups: { ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11856/shared-c.js
test/configCases/graph/issue-11856/shared-c.js
export * from "./shared-d";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11856/a.js
test/configCases/graph/issue-11856/a.js
import { value } from "./shared-c"; it("should have to correct value", () => { expect(value).toBe(42); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-reexport/b.js
test/configCases/graph/conditional-reexport/b.js
import { utilB } from "./lib" it("should not emit error when running b.js (runtime b)", () => { expect(utilB()).toBe("[object Object] common"); })
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-reexport/test.config.js
test/configCases/graph/conditional-reexport/test.config.js
"use strict"; module.exports = { findBundle() { return ["./lib.js", "./a.js", "./b.js"]; } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-reexport/webpack.config.js
test/configCases/graph/conditional-reexport/webpack.config.js
"use strict"; /** @type {import("webpack").Configuration} */ module.exports = { entry: { a: "./a.js", b: "./b.js" }, output: { filename: "[name].js" }, target: "web", mode: "production", optimization: { concatenateModules: false, splitChunks: { cacheGroups: { lib: { name: "lib", test:...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-reexport/a.js
test/configCases/graph/conditional-reexport/a.js
import { utilA } from "./lib" it("should not emit error when running a.js (runtime a)", () => { expect(utilA()).toBe("a"); })
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-reexport/lib/util-b.js
test/configCases/graph/conditional-reexport/lib/util-b.js
import { common } from "./common" var b = ({}).toString(); // side effect, this will keep lib/index.js exist in the output, bailout the optimization from SideEffectsFlagPlugin export function utilB() { return b + ' ' + common; }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-reexport/lib/index.js
test/configCases/graph/conditional-reexport/lib/index.js
export * from "./util-a" export * from "./common" export * from "./util-b"
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-reexport/lib/util-a.js
test/configCases/graph/conditional-reexport/lib/util-a.js
export function utilA() { return 'a'; }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-reexport/lib/common/index.js
test/configCases/graph/conditional-reexport/lib/common/index.js
export * from "./common" export * from "./empty"
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-reexport/lib/common/empty.js
test/configCases/graph/conditional-reexport/lib/common/empty.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-reexport/lib/common/common.js
test/configCases/graph/conditional-reexport/lib/common/common.js
export const common = 'common'
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/depend-on-and-runtime/b.js
test/configCases/errors/depend-on-and-runtime/b.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/depend-on-and-runtime/webpack.config.js
test/configCases/errors/depend-on-and-runtime/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration[]} */ module.exports = [ { output: { filename: "runtime-to-entrypoint-[name].js" }, entry: { a1: "./a", b1: { runtime: "a1", import: "./b" } } }, { output: { filename: "dependOn-plus-runtime-[name].js" }, entry: { ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/depend-on-and-runtime/errors.js
test/configCases/errors/depend-on-and-runtime/errors.js
"use strict"; module.exports = [ [ /Entrypoint 'b1' has a 'runtime' option which points to another entrypoint named 'a1'/ ], [/Entrypoint 'b2' has 'dependOn' and 'runtime' specified/], [ /Entrypoints 'b3' and 'a3' use 'dependOn' to depend on each other in a circular way/ ] ];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/depend-on-and-runtime/a.js
test/configCases/errors/depend-on-and-runtime/a.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/case-emit/index.js
test/configCases/errors/case-emit/index.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/case-emit/webpack.config.js
test/configCases/errors/case-emit/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { entry: { a: "./index.js?1", A: "./index.js?2" }, output: { filename: "[name].js" } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/case-emit/errors.js
test/configCases/errors/case-emit/errors.js
"use strict"; module.exports = [[/only differs in casing/, /a\.js/, /A\.js/]];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/exception-in-chunk-renderer/index.js
test/configCases/errors/exception-in-chunk-renderer/index.js
it("should not crash when renderer throws exception", function(done) { done(); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/exception-in-chunk-renderer/webpack.config.js
test/configCases/errors/exception-in-chunk-renderer/webpack.config.js
"use strict"; /** @typedef {import("../../../../").Compiler} Compiler */ class ThrowsExceptionInRender { /** * @param {Compiler} compiler compiler */ apply(compiler) { compiler.hooks.compilation.tap("ThrowsException", (compilation) => { compilation.mainTemplate.hooks.requireExtensions.tap( "ThrowsExcep...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/exception-in-chunk-renderer/errors.js
test/configCases/errors/exception-in-chunk-renderer/errors.js
"use strict"; module.exports = [[/Test exception/]];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/entry-not-found/webpack.config.js
test/configCases/errors/entry-not-found/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = {};
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/entry-not-found/errors.js
test/configCases/errors/entry-not-found/errors.js
"use strict"; module.exports = [[/^Module not found/, /.\/index\.js/]];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/generator-generate-error/test.filter.js
test/configCases/errors/generator-generate-error/test.filter.js
"use strict"; const supportsWebAssembly = require("../../../helpers/supportsWebAssembly"); module.exports = () => supportsWebAssembly();
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/generator-generate-error/index.js
test/configCases/errors/generator-generate-error/index.js
it("should generate a custom error content", async () => { expect(__STATS__.modules.filter(m => m.moduleType !== "runtime").length).toEqual(14); expect(__STATS__.assets.length).toEqual(19); expect(__STATS__.chunks.length).toEqual(12); let errored; let json; try { json = await import("./file.json"); } catch ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/generator-generate-error/loader.js
test/configCases/errors/generator-generate-error/loader.js
/** @type {import("../../../../").LoaderDefinition<{ message: string }>} */ module.exports = function() { const callback = this.async(); const options = this.getOptions(); callback(new Error(options.message || 'Message')); };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/generator-generate-error/test.config.js
test/configCases/errors/generator-generate-error/test.config.js
"use strict"; const findOutputFiles = require("../../../helpers/findOutputFiles"); module.exports = { findBundle(i, options) { const files = findOutputFiles(options, new RegExp(/\.js$/)); return files.sort((a, _b) => (a.startsWith("main") ? 1 : 0)); } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/generator-generate-error/infrastructure-log.js
test/configCases/errors/generator-generate-error/infrastructure-log.js
"use strict"; module.exports = (options) => { if (options.cache && options.cache.type === "filesystem") { return [/Pack got invalid because of write to/]; } return []; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/generator-generate-error/webpack.config.js
test/configCases/errors/generator-generate-error/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { target: "web", output: { filename: "[name].[chunkhash:8].[contenthash:8].js", chunkFilename: "[name].[chunkhash:8].[contenthash:8].js" }, optimization: { chunkIds: "named", emitOnErrors: true }, experiments: { css: tru...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/generator-generate-error/errors.js
test/configCases/errors/generator-generate-error/errors.js
"use strict"; module.exports = [ /javascript\/auto error message/, /asset\/inline error message/, /asset\/resource error message/, /asset\/resource other error message/, /asset\/resource in css error message/, /asset\/source error message/, /asset\/source in css error message/, /css\/auto error message/, /css...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/generator-generate-error/module.js
test/configCases/errors/generator-generate-error/module.js
export default "test";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/hook-webpack-error/index.js
test/configCases/errors/hook-webpack-error/index.js
import value from "./my-errored-module.js" it("should work and cache", function(done) { done(); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/hook-webpack-error/my-errored-module.js
test/configCases/errors/hook-webpack-error/my-errored-module.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/hook-webpack-error/loader.js
test/configCases/errors/hook-webpack-error/loader.js
const HookWebpackError = require('../../../../lib/HookWebpackError.js'); /** @type {import("../../../../").LoaderDefinition} */ module.exports = function loader() { const callback = this.async(); callback(new HookWebpackError(new Error("Error: test"), "hookName")); };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/hook-webpack-error/infrastructure-log.js
test/configCases/errors/hook-webpack-error/infrastructure-log.js
"use strict"; module.exports = (options) => { if (options.cache && options.cache.type === "filesystem") { return [/Pack got invalid because of write to/]; } return []; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/hook-webpack-error/webpack.config.js
test/configCases/errors/hook-webpack-error/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { test: /my-errored-module\.js$/i, use: [ { loader: require.resolve("./loader.js") } ] } ] } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/hook-webpack-error/errors.js
test/configCases/errors/hook-webpack-error/errors.js
"use strict"; module.exports = [[/Module build failed/]];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/depend-on-error/index.js
test/configCases/errors/depend-on-error/index.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/depend-on-error/webpack.config.js
test/configCases/errors/depend-on-error/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { entry: { foo: "./file-does-not-exist.js", bar: { import: ["./index.js"], dependOn: ["foo"] } }, output: { filename: "[name].js" } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/depend-on-error/errors.js
test/configCases/errors/depend-on-error/errors.js
"use strict"; module.exports = [[/Can't resolve '\.\/file-does-not-exist\.js'/]];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/asset-options-validation/index.js
test/configCases/errors/asset-options-validation/index.js
import url from "./text.txt";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/asset-options-validation/webpack.config.js
test/configCases/errors/asset-options-validation/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { test: /\.txt$/, type: "asset/inline", generator: { filename: "[name].txt" } } ] } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/asset-options-validation/errors.js
test/configCases/errors/asset-options-validation/errors.js
"use strict"; module.exports = [ [ /Invalid generator object\. Asset Modules Plugin has been initialized using a generator object that does not match the API schema/, /generator has an unknown property 'filename'/ ] ];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/multi-entry-missing-module/index.js
test/configCases/errors/multi-entry-missing-module/index.js
it("should ignore missing modules as entries", function() { // a.js and b.js should be evaluated correctly }); it("should use WebpackMissingModule when evaluating missing modules", function() { expect(function() { require("./intentionally-missing-module"); }).toThrow("Cannot find module './intentionally-missi...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/multi-entry-missing-module/test.config.js
test/configCases/errors/multi-entry-missing-module/test.config.js
"use strict"; module.exports = { findBundle() { return ["./a.js", "./b.js", "./bundle0.js"]; } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/multi-entry-missing-module/intentionally-missing-module.js
test/configCases/errors/multi-entry-missing-module/intentionally-missing-module.js
module.exports = "ignored";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/multi-entry-missing-module/webpack.config.js
test/configCases/errors/multi-entry-missing-module/webpack.config.js
"use strict"; const IgnorePlugin = require("../../../../").IgnorePlugin; /** @type {import("../../../../").Configuration} */ module.exports = { entry: { a: "./intentionally-missing-module.js", b: ["./intentionally-missing-module.js"], bundle0: ["./index"] }, output: { filename: "[name].js" }, plugins: [ ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/self-reexport/c2.js
test/configCases/errors/self-reexport/c2.js
export { something } from "./c1";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/self-reexport/aa.js
test/configCases/errors/self-reexport/aa.js
import { something } from "./a"; something();
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/self-reexport/index.js
test/configCases/errors/self-reexport/index.js
it("should not crash on incorrect exports", function() { if(Math.random() < -1) { import(/* webpackChunkName: "a" */ "./aa"); import(/* webpackChunkName: "b" */ "./bb"); import(/* webpackChunkName: "c" */ "./cc"); } });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/self-reexport/cc.js
test/configCases/errors/self-reexport/cc.js
import {something} from "./c1"; something();
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/self-reexport/b.js
test/configCases/errors/self-reexport/b.js
import { something, other } from "./b"; export { something as other, other as something }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/self-reexport/c1.js
test/configCases/errors/self-reexport/c1.js
export { something } from "./c2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/self-reexport/bb.js
test/configCases/errors/self-reexport/bb.js
import {something} from "./b"; something();
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/self-reexport/webpack.config.js
test/configCases/errors/self-reexport/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "production" };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/self-reexport/a.js
test/configCases/errors/self-reexport/a.js
export { something } from "./a";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/import-missing/index.js
test/configCases/errors/import-missing/index.js
var never = false; it("should not crash on missing requires", function() { if (never) { require("./a"); require("./b"); require("./c"); require("./d"); require("./e"); require("./f"); require("./h"); require("./i"); require("./j"); require("./k"); require("./l"); require("./m"); require("./n...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/import-missing/b.js
test/configCases/errors/import-missing/b.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/import-missing/d.js
test/configCases/errors/import-missing/d.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/import-missing/webpack.config.js
test/configCases/errors/import-missing/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { bail: true };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/import-missing/c.js
test/configCases/errors/import-missing/c.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/import-missing/errors.js
test/configCases/errors/import-missing/errors.js
"use strict"; module.exports = [[/Module not found/]];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/errors/import-missing/a.js
test/configCases/errors/import-missing/a.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/track-initial-chunks/index-2.js
test/configCases/container/track-initial-chunks/index-2.js
import React from "react" console.log(React)
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/track-initial-chunks/index.js
test/configCases/container/track-initial-chunks/index.js
it("should have the hoisted container references", async () => { const before = __webpack_modules__; // Initialize tracker array const tracker = []; // Call the consumes function to populate tracker with hoisted container references __webpack_require__.f.consumes("other", tracker); // Ensure all references in ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/track-initial-chunks/test.config.js
test/configCases/container/track-initial-chunks/test.config.js
"use strict"; module.exports = { findBundle(i) { return i === 0 ? "./main.js" : "./module/main.mjs"; } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/track-initial-chunks/ComponentA.js
test/configCases/container/track-initial-chunks/ComponentA.js
import React from "react"; export default () => { return `ComponentA rendered with [${React()}]`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/track-initial-chunks/App.js
test/configCases/container/track-initial-chunks/App.js
import React from "react"; import ComponentA from "containerA/ComponentA"; export default () => { return `App rendered with [${React()}] and [${ComponentA()}]`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/track-initial-chunks/webpack.config.js
test/configCases/container/track-initial-chunks/webpack.config.js
"use strict"; const { ModuleFederationPlugin } = require("../../../../").container; /** @type {ConstructorParameters<typeof ModuleFederationPlugin>[0]} */ const common = { name: "container", exposes: { "./ComponentA": { import: "./ComponentA" } }, shared: { react: { version: false, requiredVersion:...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/track-initial-chunks/upgrade-react.js
test/configCases/container/track-initial-chunks/upgrade-react.js
import { setVersion } from "react"; export default function upgrade() { setVersion("1.2.3"); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/track-initial-chunks/node_modules/react.js
test/configCases/container/track-initial-chunks/node_modules/react.js
let version = "0.1.2"; export default () => `This is react ${version}`; export function setVersion(v) { version = v; }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-transitive-overriding/index.js
test/configCases/container/0-transitive-overriding/index.js
it("should work normally (a)", () => { return import("./a").then(({ value }) => { expect(value).toBe("shared"); }); }); it("should work normally (b)", () => { return import("./b").then(({ value }) => { expect(value).toBe("shared"); }); }); it("should work normally (container-with-shared/a)", () => { return i...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-transitive-overriding/modules.js
test/configCases/container/0-transitive-overriding/modules.js
export default Object.keys(__webpack_modules__).sort();
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-transitive-overriding/b.js
test/configCases/container/0-transitive-overriding/b.js
export * from "./shared";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-transitive-overriding/webpack.config.js
test/configCases/container/0-transitive-overriding/webpack.config.js
"use strict"; const { ModuleFederationPlugin } = require("../../../../").container; /** @type {import("../../../../").Configuration} */ module.exports = { optimization: { chunkIds: "named", moduleIds: "named" }, plugins: [ new ModuleFederationPlugin({ name: "container-with-shared", library: { type: "co...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-transitive-overriding/shared.js
test/configCases/container/0-transitive-overriding/shared.js
export const value = "shared";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-transitive-overriding/a.js
test/configCases/container/0-transitive-overriding/a.js
export * from "./b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-container-full/index.js
test/configCases/container/0-container-full/index.js
it("should load the component from container", () => { return import("./App").then(({ default: App }) => { const rendered = App(); expect(rendered).toBe( "App rendered with [This is react 0.1.2] and [ComponentA rendered with [This is react 0.1.2]]" ); return import("./upgrade-react").then(({ default: upgrad...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-container-full/test.config.js
test/configCases/container/0-container-full/test.config.js
"use strict"; module.exports = { findBundle(i) { return i === 0 ? "./main.js" : "./module/main.mjs"; } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-container-full/ComponentA.js
test/configCases/container/0-container-full/ComponentA.js
import React from "react"; export default () => { return `ComponentA rendered with [${React()}]`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-container-full/App.js
test/configCases/container/0-container-full/App.js
import React from "react"; import ComponentA from "containerA/ComponentA"; export default () => { return `App rendered with [${React()}] and [${ComponentA()}]`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-container-full/webpack.config.js
test/configCases/container/0-container-full/webpack.config.js
"use strict"; const { ModuleFederationPlugin } = require("../../../../").container; /** @type {ConstructorParameters<typeof ModuleFederationPlugin>[0]} */ const common = { name: "container", exposes: { "./ComponentA": { import: "./ComponentA" } }, shared: { react: { version: false, requiredVersion:...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-container-full/upgrade-react.js
test/configCases/container/0-container-full/upgrade-react.js
import { setVersion } from "react"; export default function upgrade() { setVersion("1.2.3"); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/0-container-full/node_modules/react.js
test/configCases/container/0-container-full/node_modules/react.js
let version = "0.1.2"; export default () => `This is react ${version}`; export function setVersion(v) { version = v; }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/2-transitive-overriding/index.js
test/configCases/container/2-transitive-overriding/index.js
it("should allow transitive overrides (container-no-shared/a)", () => { return import("container-no-shared/a").then(({ value }) => { expect(value).toBe("new shared"); }); }); it("should not override non-overridables (container-no-shared/b)", () => { return import("container-no-shared/b").then(({ value }) => { e...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/2-transitive-overriding/webpack.config.js
test/configCases/container/2-transitive-overriding/webpack.config.js
"use strict"; const { ModuleFederationPlugin } = require("../../../../").container; /** @type {import("../../../../").Configuration} */ module.exports = { optimization: { chunkIds: "named", moduleIds: "named" }, plugins: [ new ModuleFederationPlugin({ remoteType: "commonjs-module", remotes: { "cont...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/2-transitive-overriding/shared.js
test/configCases/container/2-transitive-overriding/shared.js
export const value = "new shared";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/no-shared/index.js
test/configCases/container/no-shared/index.js
it("should allow to work without shared modules", async () => { await __webpack_init_sharing__("default"); const container = __non_webpack_require__("./container.js"); container.init(__webpack_share_scopes__.default); const moduleFactory = await container.get("./module"); expect(moduleFactory().ok).toBe(true); });...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/no-shared/webpack.config.js
test/configCases/container/no-shared/webpack.config.js
"use strict"; const { ModuleFederationPlugin } = require("../../../../").container; /** @type {import("../../../../").Configuration} */ module.exports = { plugins: [ new ModuleFederationPlugin({ name: "container", filename: "container.js", library: { type: "commonjs-module" }, exposes: ["./module"] }...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/no-shared/module.js
test/configCases/container/no-shared/module.js
export const ok = true;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/reference-hoisting/index-2.js
test/configCases/container/reference-hoisting/index-2.js
import('containerB/ComponentA')
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/reference-hoisting/index.js
test/configCases/container/reference-hoisting/index.js
it("should have the hoisted container references", () => { const wpm = __webpack_modules__; expect(wpm).toHaveProperty("webpack/container/reference/containerA"); expect(wpm).toHaveProperty("webpack/container/reference/containerB"); }); it("should load the component from container", () => { return import("./App").t...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/reference-hoisting/test.config.js
test/configCases/container/reference-hoisting/test.config.js
"use strict"; module.exports = { findBundle(i) { return i === 0 ? "./main.js" : "./module/main.mjs"; } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/reference-hoisting/ComponentA.js
test/configCases/container/reference-hoisting/ComponentA.js
import React from "react"; export default () => { return `ComponentA rendered with [${React()}]`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/reference-hoisting/App.js
test/configCases/container/reference-hoisting/App.js
import React from "react"; import ComponentA from "containerA/ComponentA"; export default () => { return `App rendered with [${React()}] and [${ComponentA()}]`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/container/reference-hoisting/webpack.config.js
test/configCases/container/reference-hoisting/webpack.config.js
"use strict"; const { ModuleFederationPlugin } = require("../../../../").container; /** @type {ConstructorParameters<typeof ModuleFederationPlugin>[0]} */ const common = { name: "container", exposes: { "./ComponentA": { import: "./ComponentA" } }, shared: { react: { version: false, requiredVersion:...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false