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/parsing/import-ignore/other.js | test/configCases/parsing/import-ignore/other.js | import(/* webpackIgnore: true */ "./other2.js");
import(/* webpackIgnore: false */ "./other3.js");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/import-ignore/webpack.config.js | test/configCases/parsing/import-ignore/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
entry: {
bundle0: "./index.js",
bundle1: "./other.js"
},
output: {
filename: "[name].js"
},
node: {
__dirname: false
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/import-ignore/other3.js | test/configCases/parsing/import-ignore/other3.js | export default "other3";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/import-ignore/other2.js | test/configCases/parsing/import-ignore/other2.js | export default "other2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/issue-336/index.js | test/configCases/parsing/issue-336/index.js | it("should provide a module to a free var in a var decl", function() {
var x = aaa.test;
expect(x).toBe("test");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/issue-336/webpack.config.js | test/configCases/parsing/issue-336/webpack.config.js | "use strict";
const ProvidePlugin = require("../../../../").ProvidePlugin;
/** @type {import("../../../../").Configuration} */
module.exports = {
plugins: [
new ProvidePlugin({
aaa: "aaa"
})
]
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/issue-336/node_modules/aaa.js | test/configCases/parsing/issue-336/node_modules/aaa.js | module.exports = {
test: "test"
}; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/destructuring-rest/index.js | test/configCases/parsing/destructuring-rest/index.js | import * as namespace from "../destructuring-namespace-import/module";
it("should work with destructuring", function() {
const key = "fo" + "o";
const { ...rest } = namespace;
expect(rest[key]).toBe("bar");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/destructuring-rest/webpack.config.js | test/configCases/parsing/destructuring-rest/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
optimization: {
concatenateModules: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/destructuring-rest/module.js | test/configCases/parsing/destructuring-rest/module.js | export const foo = 'bar';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/url-ignore/warnings.js | test/configCases/parsing/url-ignore/warnings.js | "use strict";
module.exports = [/`webpackIgnore` expected a boolean, but received: test./];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/url-ignore/index.js | test/configCases/parsing/url-ignore/index.js | it("should ignore", function() {
const url = new URL(/* webpackIgnore: true */ "file1.css", import.meta.url);
expect(url.pathname.endsWith("file1.css")).toBe(true);
expect(url.pathname.includes("/public/")).toBe(false);
const url2 = new URL(/* webpackIgnore: false */ "file2.css", import.meta.url);
expect(/\/public... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/url-ignore/webpack.config.js | test/configCases/parsing/url-ignore/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
output: {
publicPath: "/public/"
},
experiments: {
outputModule: true
},
target: ["web", "es2020"]
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/harmony-this-concat/abc.js | test/configCases/parsing/harmony-this-concat/abc.js | function returnThis() {
if (typeof this === "undefined") return "undefined";
return this;
}
var a = returnThis;
var b = returnThis;
export { a, b };
export const that = this;
export const returnThisArrow = () => this;
export const returnThisMember = () => this.a;
export class C {
constructor() {
this.x = "bar"... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/harmony-this-concat/index.js | test/configCases/parsing/harmony-this-concat/index.js | "use strict";
import {extendThisClass, returnThisArrow, returnThisMember, that} from "./abc";
import d, {a, b as B, C as _C, D as _D, E, F, f1, f2, f3, G} from "./abc";
import {bindThis, callThis, applyThis} from "./issue-7213";
import * as abc from "./abc";
it("should have this = undefined on harmony modules", () =... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/harmony-this-concat/issue-7213.js | test/configCases/parsing/harmony-this-concat/issue-7213.js | // This helper is taken from Babel
function _newArrowCheck(innerThis, boundThis) {
if (innerThis !== boundThis) {
throw new TypeError("Cannot instantiate an arrow function");
}
}
let _this = this;
export let bindThis = function() {
_newArrowCheck(this, _this);
return this
}.bind(this);
export let callThis = fun... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/harmony-this-concat/new.js | test/configCases/parsing/harmony-this-concat/new.js | function C() {
this.ok = this.pok;
}
C.prototype.pok = true;
export default C;
export {
C
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/harmony-this-concat/webpack.config.js | test/configCases/parsing/harmony-this-concat/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
strictThisContextOnImports: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/node-source-plugin-off/index.js | test/configCases/parsing/node-source-plugin-off/index.js | it("should not load node bindings when node option is false", function() {
expect((typeof global)).toBe("undefined");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/node-source-plugin-off/webpack.config.js | test/configCases/parsing/node-source-plugin-off/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
target: "web",
node: false
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/extended-api/index.js | test/configCases/parsing/extended-api/index.js | it("should have __webpack_hash__", function() {
expect(__webpack_hash__).toBeTypeOf("string");
expect(__webpack_hash__).toMatch(/^[0-9a-f]{20}$/);
return import("./chunk").then(({ hash }) => {
expect(hash).toBe(__webpack_hash__);
});
});
it("should have __webpack_chunkname__", function() {
expect(__webpack_chunk... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/extended-api/chunk.js | test/configCases/parsing/extended-api/chunk.js | export const hash = __webpack_hash__;
export const chunkName = __webpack_chunkname__;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/extended-api/webpack.config.js | test/configCases/parsing/extended-api/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
entry: {
other: "./index"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/statical-dynamic-import-this/index.js | test/configCases/parsing/statical-dynamic-import-this/index.js | it("should respect strictThisContextOnImports for member call", async () => {
let m = await import("./dir4/a");
expect(m.f()).toBe(1);
expect(m.usedExports).toBe(true);
let m2 = await import("./dir4/lib");
expect(m2.b.f()).toBe(1);
expect(m2.b.usedExports).toBe(true);
expect(m2.usedExports).toEqual(["b", "usedEx... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/statical-dynamic-import-this/webpack.config.js | test/configCases/parsing/statical-dynamic-import-this/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
strictThisContextOnImports: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/statical-dynamic-import-this/dir4/a.js | test/configCases/parsing/statical-dynamic-import-this/dir4/a.js | export const a = 1;
export function f() {
return this.a;
}
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/statical-dynamic-import-this/dir4/lib/index.js | test/configCases/parsing/statical-dynamic-import-this/dir4/lib/index.js | export * as a from "./a";
export * as b from "./b";
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/statical-dynamic-import-this/dir4/lib/b.js | test/configCases/parsing/statical-dynamic-import-this/dir4/lib/b.js | export function f() {
return 1;
}
export const b = 2;
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/statical-dynamic-import-this/dir4/lib/a.js | test/configCases/parsing/statical-dynamic-import-this/dir4/lib/a.js | export const a = 1;
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/issue-11619/index.js | test/configCases/parsing/issue-11619/index.js | it("should provide a module to a called free var", function () {
var x = xxx.yyy(xxx.yyy, xxx.yyy);
expect(x).toBe("ok");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/issue-11619/webpack.config.js | test/configCases/parsing/issue-11619/webpack.config.js | "use strict";
const ProvidePlugin = require("../../../../").ProvidePlugin;
/** @type {import("../../../../").Configuration} */
module.exports = {
plugins: [
new ProvidePlugin({
"xxx.yyy": "aaa"
})
]
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/issue-11619/node_modules/aaa.js | test/configCases/parsing/issue-11619/node_modules/aaa.js | const fn = (a, b) => {
if(a === fn && b === fn) return "ok";
return "fail";
};
module.exports = fn;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/destructuring-namespace-import/index.js | test/configCases/parsing/destructuring-namespace-import/index.js | import * as namespace from "./module.js";
it("should work with destructuring", function() {
{
const { foo } = namespace;
expect(foo).toBe("bar");
}
{
let foo;
({ foo } = namespace);
expect(foo).toBe("bar");
}
{
let foo;
({ foo = 'foo' } = namespace);
expect(foo).toBe("bar");
}
{
const { foo... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/destructuring-namespace-import/webpack.config.js | test/configCases/parsing/destructuring-namespace-import/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
optimization: {
concatenateModules: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/destructuring-namespace-import/module.js | test/configCases/parsing/destructuring-namespace-import/module.js | export const foo = 'bar';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/harmony-this/abc.js | test/configCases/parsing/harmony-this/abc.js | function returnThis() {
if (typeof this === "undefined") return "undefined";
return this;
}
var a = returnThis;
var b = returnThis;
export { a, b };
export const that = this;
export const returnThisArrow = () => this;
export const returnThisMember = () => this.a;
export class C {
constructor() {
this.x = "bar"... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/harmony-this/index.js | test/configCases/parsing/harmony-this/index.js | "use strict";
import {extendThisClass, returnThisArrow, returnThisMember, that} from "./abc";
import d, {a, b as B, C as _C, D as _D, E, F, f1, f2, f3, G} from "./abc";
import {bindThis, callThis, applyThis} from "./issue-7213";
import * as abc from "./abc";
it("should have this = undefined on harmony modules", () =... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/harmony-this/issue-7213.js | test/configCases/parsing/harmony-this/issue-7213.js | // This helper is taken from Babel
function _newArrowCheck(innerThis, boundThis) {
if (innerThis !== boundThis) {
throw new TypeError("Cannot instantiate an arrow function");
}
}
let _this = this;
export let bindThis = function() {
_newArrowCheck(this, _this);
return this
}.bind(this);
export let callThis = fun... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/harmony-this/new.js | test/configCases/parsing/harmony-this/new.js | function C() {
this.ok = this.pok;
}
C.prototype.pok = true;
export default C;
export {
C
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/harmony-this/webpack.config.js | test/configCases/parsing/harmony-this/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
strictThisContextOnImports: true
},
optimization: {
concatenateModules: false
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/import-meta-main/index.js | test/configCases/parsing/import-meta-main/index.js | import { main } from "./module.js";
it("should handle import.meta.main", async () => {
expect(import.meta.main).toBe(true);
expect(typeof import.meta.main).toBe("boolean");
// Just for test, nobody uses this in real code
await import(`./${typeof import.meta.main}.js`);
const { main: myMain } = import.meta;
exp... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/import-meta-main/webpack.config.js | test/configCases/parsing/import-meta-main/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
target: "node",
optimization: {
concatenateModules: false
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/import-meta-main/boolean.js | test/configCases/parsing/import-meta-main/boolean.js | export default "1";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/import-meta-main/module.js | test/configCases/parsing/import-meta-main/module.js | const main = import.meta.main;
export { main };
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/context/index.js | test/configCases/parsing/context/index.js | it("should automatically create contexts", function() {
var template = "tmpl", templateFull = "./tmpl.js";
expect(require("../../../cases/parsing/context/templates/templateLoader")(templateFull)).toBe("test template");
expect(require("../../../cases/parsing/context/templates/templateLoaderIndirect")(templateFull)).t... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/context/infrastructure-log.js | test/configCases/parsing/context/infrastructure-log.js | "use strict";
module.exports = [
/^Pack got invalid because of write to: Compilation\/modules|.+dump-file\.txt/
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/context/webpack.config.js | test/configCases/parsing/context/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
unknownContextRegExp: /^\.\//,
unknownContextCritical: false,
exprContextRegExp: /^\.\//,
exprContextCritical: false
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/context/errors.js | test/configCases/parsing/context/errors.js | "use strict";
module.exports = [
[
/Module parse failed/,
{ moduleName: /dump-file\.txt/ },
{ moduleTrace: /templates\/ sync/ }
]
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/optional-chaining/test.filter.js | test/configCases/parsing/optional-chaining/test.filter.js | "use strict";
const supportsOptionalChaining = require("../../../helpers/supportsOptionalChaining");
module.exports = () => supportsOptionalChaining();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/optional-chaining/index.js | test/configCases/parsing/optional-chaining/index.js | it("should correctly render defined data #1", () => {
expect(_VALUE_?._DEFINED_).toBe(1);
});
it("should correctly render defined data #2", () => {
const val1 = _VALUE_?._PROP_?._DEFINED_;
const val2 = _VALUE_?._PROP_?._UNDEFINED_;
const val3 = typeof _VALUE_?._PROP_?._DEFINED_;
const val4 = typeof _VALUE_?._PROP... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/parsing/optional-chaining/webpack.config.js | test/configCases/parsing/optional-chaining/webpack.config.js | "use strict";
const { DefinePlugin } = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
mode: "development",
devtool: false,
target: "web",
plugins: [
new DefinePlugin({
_VALUE_: {
_DEFINED_: 1,
_PROP_: {
_DEFINED_: 2
}
}
})
]
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin-side-effects/0-create-dll/dependency.js | test/configCases/dll-plugin-side-effects/0-create-dll/dependency.js | export default function createB() {
return "b";
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin-side-effects/0-create-dll/index.js | test/configCases/dll-plugin-side-effects/0-create-dll/index.js | import { a } from "./module";
export default a();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin-side-effects/0-create-dll/test.config.js | test/configCases/dll-plugin-side-effects/0-create-dll/test.config.js | "use strict";
module.exports.noTests = true;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin-side-effects/0-create-dll/dependency2.js | test/configCases/dll-plugin-side-effects/0-create-dll/dependency2.js | export default function createC() {
return "c";
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin-side-effects/0-create-dll/webpack.config.js | test/configCases/dll-plugin-side-effects/0-create-dll/webpack.config.js | "use strict";
const path = require("path");
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
entry: ["./index"],
output: {
filename: "dll.js",
chunkFilename: "[id].dll.js",
libraryTarget: "commonjs2"
},
module: {
rules: [
{
test: /0-cre... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin-side-effects/0-create-dll/module.js | test/configCases/dll-plugin-side-effects/0-create-dll/module.js | import createB from "./dependency";
import createC from "./dependency2";
export function a() {
return "a";
}
export { createB as b };
export function c() {
return createC();
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin-side-effects/1-use-dll/index.js | test/configCases/dll-plugin-side-effects/1-use-dll/index.js | it("should include all exports and modules in the dll", function() {
const { a, b, c } = require("dll/module");
expect(typeof a).toBe("function");
expect(a()).toBe("a");
expect(typeof b).toBe("function");
expect(b()).toBe("b");
expect(typeof c).toBe("function");
expect(c()).toBe("c");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin-side-effects/1-use-dll/webpack.config.js | test/configCases/dll-plugin-side-effects/1-use-dll/webpack.config.js | "use strict";
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
plugins: [
new webpack.DllReferencePlugin({
manifest: require("../../../js/config/dll-plugin-side-effects/manifest0.json"),
name: "../0-create-dll/dll.js",
scope: "dll",
sourceT... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11863/b.js | test/configCases/graph/issue-11863/b.js | import { value2 } from "./shared";
it("should have to correct value", () => {
expect(value2).toBe(42);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11863/test.config.js | test/configCases/graph/issue-11863/test.config.js | "use strict";
module.exports = {
findBundle() {
return [
"shared.js",
"a.js",
"b.js",
"c.js",
"ab.js",
"ac.js",
"bc.js",
"abc.js"
];
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11863/shared-z.js | test/configCases/graph/issue-11863/shared-z.js | export { value1 } from "./shared-x";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11863/shared-y.js | test/configCases/graph/issue-11863/shared-y.js | export { value3 } from "./shared-x";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11863/webpack.config.js | test/configCases/graph/issue-11863/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
entry: {
a: "./a",
b: "./b",
c: "./c",
ab: ["./a", "./b"],
ac: ["./a", "./c"],
bc: ["./b", "./c"],
abc: ["./a", "./b", "./c"]
},
target: "web",
output: {
filename: "[name].js",
library: { type: "commonjs-module" ... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11863/c.js | test/configCases/graph/issue-11863/c.js | import { value3 } from "./shared";
it("should have to correct value", () => {
expect(value3).toBe(42);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11863/shared-x.js | test/configCases/graph/issue-11863/shared-x.js | export const value1 = 42;
export const value2 = 42;
export const value3 = 42;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11863/shared.js | test/configCases/graph/issue-11863/shared.js | export { value1 } from "./shared-z";
export { value2 } from "./shared-x";
export * from "./shared-y";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11863/a.js | test/configCases/graph/issue-11863/a.js | import { value1 } from "./shared";
it("should have to correct value", () => {
expect(value1).toBe(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.2/b.js | test/configCases/graph/issue-11856.2/b.js | import { value } from "./b2";
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/issue-11856.2/b2.js | test/configCases/graph/issue-11856.2/b2.js | export * from "./shared-e";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11856.2/test.config.js | test/configCases/graph/issue-11856.2/test.config.js | "use strict";
module.exports = {
findBundle: function (i, options) {
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.2/shared-d.js | test/configCases/graph/issue-11856.2/shared-d.js | export * from "./shared-e";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11856.2/webpack.config.js | test/configCases/graph/issue-11856.2/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.2/shared-c.js | test/configCases/graph/issue-11856.2/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.2/shared-e.js | test/configCases/graph/issue-11856.2/shared-e.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.2/a.js | test/configCases/graph/issue-11856.2/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-ensure/c2.js | test/configCases/graph/conditional-ensure/c2.js | export default () => import("./c1");
export const value = 2;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-ensure/b.js | test/configCases/graph/conditional-ensure/b.js | import c2 from "./c2";
it("should allow to import an conditionally unneeded chunk", async () => {
const c1 = await c2();
const c2_ = await c1.default();
expect(c2_.value).toBe(2);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-ensure/c1.js | test/configCases/graph/conditional-ensure/c1.js | export default () => import("./c2");
export const value = 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-ensure/webpack.config.js | test/configCases/graph/conditional-ensure/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
entry: {
bundle0: "./a",
bundle1: "./b"
},
optimization: {
flagIncludedChunks: false,
chunkIds: "named"
},
output: {
filename: "[name].js",
chunkFilename: "[id].[chunkhash].js"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/conditional-ensure/a.js | test/configCases/graph/conditional-ensure/a.js | import c1 from "./c1";
it("should allow to import an conditionally unneeded chunk", async () => {
const c2 = await c1();
const c1_ = await c2.default();
expect(c1_.value).toBe(1);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/super.js | test/configCases/graph/issue-11770/super.js | export default class Super {}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/dep-shared4.js | test/configCases/graph/issue-11770/dep-shared4.js | export default 42;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/concatenated-shared.js | test/configCases/graph/issue-11770/concatenated-shared.js | export * from "./shared?1";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/b.js | test/configCases/graph/issue-11770/b.js | import { other, val2c, Test } from "./shared";
it("should have the correct value", () => {
expect(other).toBe("other");
expect(val2c).toBe(42);
expect(Test).toBeTypeOf("function");
expect(new Test()).toBeInstanceOf(Test);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/bx.js | test/configCases/graph/issue-11770/bx.js | import { other, val2c, Test } from "./concatenated-shared";
it("should have the correct value", () => {
expect(other).toBe("other");
expect(val2c).toBe(42);
expect(Test).toBeTypeOf("function");
expect(new Test()).toBeInstanceOf(Test);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/test.config.js | test/configCases/graph/issue-11770/test.config.js | "use strict";
module.exports = {
findBundle() {
return [
"shared.js",
"a.js",
"b.js",
"c1.js",
"c2.js",
"ax.js",
"bx.js",
"cx1.js",
"cx2.js",
"d1.js",
"d2.js"
];
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/d1.js | test/configCases/graph/issue-11770/d1.js | import { value2, value3 } from "./shared2";
it("should have the correct value", () => {
expect(value2).toBe(42);
expect(value3).toBe(42);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/dep2.js | test/configCases/graph/issue-11770/dep2.js | module.exports = 42;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/cx.js | test/configCases/graph/issue-11770/cx.js | import { other } from "./concatenated-shared";
it("should have the correct value", () => {
expect(other).toBe("other");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/dep-shared3.js | test/configCases/graph/issue-11770/dep-shared3.js | import { setOther2 } from "./shared2";
export default 42;
setOther2("wrong");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/webpack.config.js | test/configCases/graph/issue-11770/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
entry: {
a: "./a",
b: "./b",
c1: "./c",
c2: "./c",
ax: "./ax",
bx: "./bx",
cx1: "./cx",
cx2: "./cx",
d1: "./d1",
d2: "./d2"
},
target: "web",
output: {
filename: "[name].js",
library: { type: "commonjs-modu... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/c.js | test/configCases/graph/issue-11770/c.js | import { other } from "./shared";
it("should have the correct value", () => {
expect(other).toBe("other");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/d2.js | test/configCases/graph/issue-11770/d2.js | import { other2, value3 } from "./shared2";
it("should have the correct value", () => {
expect(other2).toBe("other");
expect(value3).toBe(42);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/shared.js | test/configCases/graph/issue-11770/shared.js | import value from "./dep";
import value2 from "./dep2";
import * as dep2 from "./dep2";
import Super from "./super";
const derived = value;
export const val = /*#__PURE__*/ (() => value + derived)();
export const val2a = value2;
export const val2b = value2;
export const val2c = value2;
export const other = "other";... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/ax.js | test/configCases/graph/issue-11770/ax.js | import { val, val2b } from "./concatenated-shared";
it("should have the correct value", () => {
expect(val).toBe(84);
expect(val2b).toBe(42);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/dep.js | test/configCases/graph/issue-11770/dep.js | export default 42;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/a.js | test/configCases/graph/issue-11770/a.js | import { val, val2b } from "./shared";
it("should have the correct value", () => {
expect(val).toBe(84);
expect(val2b).toBe(42);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11770/shared2.js | test/configCases/graph/issue-11770/shared2.js | import value from "./dep-shared3";
import value4 from "./dep-shared4";
export function setOther2(value) {
other2 = value;
}
export const value2 = value;
export const value3 = value4;
export var other2;
if (other2 === undefined) other2 = "other";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/graph/issue-11856/b.js | test/configCases/graph/issue-11856/b.js | import { value } from "./shared-d";
it("should have to correct value", () => {
expect(value).toBe(42);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.