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/statsCases/split-chunks-automatic-name/b.js | test/statsCases/split-chunks-automatic-name/b.js | import d from "./d";
import f from "./f";
import x from "x";
import y from "y";
export default "b" + d + f + x + y;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-automatic-name/d.js | test/statsCases/split-chunks-automatic-name/d.js | export default "d";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-automatic-name/f.js | test/statsCases/split-chunks-automatic-name/f.js | export default "f";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-automatic-name/e.js | test/statsCases/split-chunks-automatic-name/e.js | export default "e";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-automatic-name/webpack.config.js | test/statsCases/split-chunks-automatic-name/webpack.config.js | "use strict";
const stats = {
hash: false,
timings: false,
builtAt: false,
assets: false,
chunks: true,
chunkRelations: true,
chunkOrigins: true,
entrypoints: true,
modules: false
};
/** @type {import("../../../").Configuration} */
module.exports = {
name: "production",
mode: "production",
entry: {
main... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-automatic-name/c.js | test/statsCases/split-chunks-automatic-name/c.js | import d from "./d";
import f from "./f";
import x from "x";
import z from "z";
export default "c" + d + f + x + z;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-automatic-name/a.js | test/statsCases/split-chunks-automatic-name/a.js | import d from "./d";
import e from "./e";
import x from "x";
import y from "y";
export default "a" + d + e + x + y;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-automatic-name/node_modules/x.js | test/statsCases/split-chunks-automatic-name/node_modules/x.js | export default "x";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-automatic-name/node_modules/y.js | test/statsCases/split-chunks-automatic-name/node_modules/y.js | export default "y";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-automatic-name/node_modules/z.js | test/statsCases/split-chunks-automatic-name/node_modules/z.js | export default "z";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/real-content-hash/test.config.js | test/statsCases/real-content-hash/test.config.js | "use strict";
const fs = require("fs");
const path = require("path");
const createHash = require("../../../lib/util/createHash");
const hashedFiles = {
"file.jpg": (a) => a.name.endsWith(".jpg"),
"file.png": (a) => a.name.endsWith(".png")
};
module.exports = {
/**
* @param {import("../../../").MultiStats} stats... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/real-content-hash/webpack.config.js | test/statsCases/real-content-hash/webpack.config.js | "use strict";
const path = require("path");
/** @type {import("../../../").Configuration} */
const base = {
mode: "production",
entry: {
index: {
import: "./index",
runtime: "runtime"
},
a: "./a",
b: "./b"
},
module: {
generator: {
asset: {
filename: "[hash][ext][query]"
}
},
rules: ... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/real-content-hash/a/index.js | test/statsCases/real-content-hash/a/index.js | // Comment 2019
const inlinedVariable = "test";
console.log(inlinedVariable, require("./file.jpg"));
import(/* webpackChunkName: "lazy" */ "./lazy");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/real-content-hash/a/b.js | test/statsCases/real-content-hash/a/b.js | // yes that's important
if (true) {
console.log("hel" + "lo");
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/real-content-hash/a/lazy.js | test/statsCases/real-content-hash/a/lazy.js | import test from "./module";
import url from "./file.png";
console.log(test, url, new URL("file.jpg?query", import.meta.url));
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/real-content-hash/a/module.js | test/statsCases/real-content-hash/a/module.js | export default 40 + 2;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/real-content-hash/a/a.js | test/statsCases/real-content-hash/a/a.js | console.log("hello");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/real-content-hash/b/index.js | test/statsCases/real-content-hash/b/index.js | // Comment 2020
console.log("test", require("./file.jpg"));
import(/* webpackChunkName: "lazy" */ "./lazy");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/real-content-hash/b/b.js | test/statsCases/real-content-hash/b/b.js | // yes that's important
if (true) {
console.log("hel" + "lo");
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/real-content-hash/b/lazy.js | test/statsCases/real-content-hash/b/lazy.js | import test from "./module";
import url from "./file.png";
console.log(test, url, new URL("file.jpg?query", import.meta.url));
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/real-content-hash/b/module.js | test/statsCases/real-content-hash/b/module.js | export default 42;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/real-content-hash/b/a.js | test/statsCases/real-content-hash/b/a.js | console.log("hello");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/color-disabled/index.js | test/statsCases/color-disabled/index.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/color-disabled/webpack.config.js | test/statsCases/color-disabled/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
stats: {
colors: false
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-oversize-limit-error/index.js | test/statsCases/performance-oversize-limit-error/index.js | require("./a");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-oversize-limit-error/index2.js | test/statsCases/performance-oversize-limit-error/index2.js | require("./a");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-oversize-limit-error/webpack.config.js | test/statsCases/performance-oversize-limit-error/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: {
main: "./index",
sec: "./index2"
},
stats: {
colors: true,
hash: false,
entrypoints: true
},
performance: {
hints: "error"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-oversize-limit-error/a.js | test/statsCases/performance-oversize-limit-error/a.js | module.exports = " ... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | true |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-no-async-chunks-shown/index.js | test/statsCases/performance-no-async-chunks-shown/index.js | require("./a");
require("./b");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-no-async-chunks-shown/b.js | test/statsCases/performance-no-async-chunks-shown/b.js | module.exports = "b";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-no-async-chunks-shown/index2.js | test/statsCases/performance-no-async-chunks-shown/index2.js | require("./b");
require("./c");
require("./d");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-no-async-chunks-shown/d.js | test/statsCases/performance-no-async-chunks-shown/d.js | module.exports = "d";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-no-async-chunks-shown/e.js | test/statsCases/performance-no-async-chunks-shown/e.js | module.exports = "e";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-no-async-chunks-shown/webpack.config.js | test/statsCases/performance-no-async-chunks-shown/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: {
main: "./index",
sec: "./index2"
},
performance: {
hints: "warning"
},
stats: {
colors: true,
hash: false,
entrypoints: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-no-async-chunks-shown/c.js | test/statsCases/performance-no-async-chunks-shown/c.js | module.exports = "c";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-no-async-chunks-shown/a.js | test/statsCases/performance-no-async-chunks-shown/a.js | module.exports = " ... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | true |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/exclude-with-loader/index.js | test/statsCases/exclude-with-loader/index.js | require("./a.txt");
require("./exclude/b.txt");
require("./exclude/c.json");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/exclude-with-loader/webpack.config.js | test/statsCases/exclude-with-loader/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
output: {
filename: "bundle.js"
},
stats: {
excludeModules: ["node_modules", "exclude"],
excludeAssets: [/\.json/]
},
module: {
rules: [
{
test: /\.txt/,
loader: "raw-loader... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-trace-enabled-in-error/inner.js | test/statsCases/module-trace-enabled-in-error/inner.js | require("./not-existing");
require("./parse-error");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-trace-enabled-in-error/index.js | test/statsCases/module-trace-enabled-in-error/index.js | require('./inner')
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-trace-enabled-in-error/not-existing.js | test/statsCases/module-trace-enabled-in-error/not-existing.js | require('does-not-exist')
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-trace-enabled-in-error/parse-error.js | test/statsCases/module-trace-enabled-in-error/parse-error.js | Here
could
be :)
your
code
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-trace-enabled-in-error/webpack.config.js | test/statsCases/module-trace-enabled-in-error/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
stats: {
hash: false,
moduleTrace: true,
errorDetails: false
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/preset-none-array/index.js | test/statsCases/preset-none-array/index.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/preset-none-array/webpack.config.js | test/statsCases/preset-none-array/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration[]} */
module.exports = [
{
mode: "production",
entry: "./index",
output: {
filename: "a.js"
},
stats: "none"
},
{
mode: "production",
entry: "./index",
output: {
filename: "b.js"
},
stats: "none"
}
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/simple/index.js | test/statsCases/simple/index.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/name/app.js | test/statsCases/name/app.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/name/webpack.config.js | test/statsCases/name/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration[]} */
module.exports = [
{
name: require.resolve("./app.js"),
mode: "production",
entry: "./app.js",
output: {
filename: "bundle1.js"
}
},
{
name: require.resolve("./server.js"),
mode: "production",
entry: "./server.js",
output: {
fi... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/name/server.js | test/statsCases/name/server.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/graph-correctness-modules/e2.js | test/statsCases/graph-correctness-modules/e2.js | import "./module-x";
import(/* webpackChunkName: "c" */"./module-c");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/graph-correctness-modules/module-c.js | test/statsCases/graph-correctness-modules/module-c.js | import(/* webpackChunkName: "a" */"./module-a");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/graph-correctness-modules/module-b.js | test/statsCases/graph-correctness-modules/module-b.js | import(/* webpackChunkName: "c" */"./module-c");
import("./module-x"); // This should not create a chunk, because module-x is in both entrypoints (in every path to this module-b)
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/graph-correctness-modules/e1.js | test/statsCases/graph-correctness-modules/e1.js | import "./module-x";
import(/* webpackChunkName: "a" */"./module-a");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/graph-correctness-modules/module-x.js | test/statsCases/graph-correctness-modules/module-x.js | import(/* webpackChunkName: "y" */"./module-y");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/graph-correctness-modules/webpack.config.js | test/statsCases/graph-correctness-modules/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: {
e1: "./e1",
e2: "./e2"
},
output: {
filename: "[name].js"
},
stats: {
hash: false,
timings: false,
builtAt: false,
assets: false,
chunks: true,
chunkRelations: true,
chunkModules: tr... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/graph-correctness-modules/module-a.js | test/statsCases/graph-correctness-modules/module-a.js | import(/* webpackChunkName: "b" */"./module-b");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/graph-correctness-modules/module-y.js | test/statsCases/graph-correctness-modules/module-y.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/async2.js | test/statsCases/module-deduplication/async2.js | import b from "./b";
import f from "./f";
console.log(b, f);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/e2.js | test/statsCases/module-deduplication/e2.js | import a from "./a";
import b from "./b";
import e from "./e";
import f from "./f";
import("./async1");
import("./async2");
import("./async3");
console.log(a, b, e, f);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/async3.js | test/statsCases/module-deduplication/async3.js | import b from "./b";
import h from "./h";
console.log(b, h);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/b.js | test/statsCases/module-deduplication/b.js | export default "b";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/h.js | test/statsCases/module-deduplication/h.js | export default "h";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/g.js | test/statsCases/module-deduplication/g.js | export default "g";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/d.js | test/statsCases/module-deduplication/d.js | export default "d";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/f.js | test/statsCases/module-deduplication/f.js | export default "f";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/e.js | test/statsCases/module-deduplication/e.js | export default "e";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/e1.js | test/statsCases/module-deduplication/e1.js | import a from "./a";
import b from "./b";
import c from "./c";
import d from "./d";
import("./async1");
import("./async2");
import("./async3");
console.log(a, b, c, d);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/webpack.config.js | test/statsCases/module-deduplication/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: {
e1: "./e1",
e2: "./e2",
e3: "./e3"
},
output: {
filename: "[name].js"
},
stats: {
hash: false,
timings: false,
builtAt: false,
chunks: true,
chunkModules: true,
dependentModules: tru... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/async1.js | test/statsCases/module-deduplication/async1.js | import b from "./b";
import d from "./d";
console.log(b, d);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/c.js | test/statsCases/module-deduplication/c.js | export default "c";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/e3.js | test/statsCases/module-deduplication/e3.js | import a from "./a";
import b from "./b";
import g from "./g";
import h from "./h";
import("./async1");
import("./async2");
import("./async3");
console.log(a, b, g, h);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-deduplication/a.js | test/statsCases/module-deduplication/a.js | export default "a";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/error-stack-enabled-error/index.js | test/statsCases/error-stack-enabled-error/index.js | // Empty entry - errors are added via plugin
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/error-stack-enabled-error/webpack.config.js | test/statsCases/error-stack-enabled-error/webpack.config.js | "use strict";
const { WebpackError } = require("../../../");
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "development",
entry: "./index.js",
stats: {
errorStack: true
},
plugins: [
(compiler) => {
compiler.hooks.compilation.tap("Test", (compilation) => {
const err = new W... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/concat-and-sideeffects/index.js | test/statsCases/concat-and-sideeffects/index.js | import { a } from "pmodule";
console.log(a);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/concat-and-sideeffects/webpack.config.js | test/statsCases/concat-and-sideeffects/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
stats: {
all: false,
modules: true,
nestedModules: true,
orphanModules: true,
optimizationBailout: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/concat-and-sideeffects/node_modules/pmodule/aa.js | test/statsCases/concat-and-sideeffects/node_modules/pmodule/aa.js | export const aa = "aa";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/concat-and-sideeffects/node_modules/pmodule/index.js | test/statsCases/concat-and-sideeffects/node_modules/pmodule/index.js | export * from "./a";
export * from "./b";
export * from "./c";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/concat-and-sideeffects/node_modules/pmodule/cc.js | test/statsCases/concat-and-sideeffects/node_modules/pmodule/cc.js | export const cc = "cc";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/concat-and-sideeffects/node_modules/pmodule/b.js | test/statsCases/concat-and-sideeffects/node_modules/pmodule/b.js | import { bb } from "./bb";
export const b = bb;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/concat-and-sideeffects/node_modules/pmodule/bb.js | test/statsCases/concat-and-sideeffects/node_modules/pmodule/bb.js | export const bb = "bb";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/concat-and-sideeffects/node_modules/pmodule/c.js | test/statsCases/concat-and-sideeffects/node_modules/pmodule/c.js | import { cc } from "./cc";
export const c = cc;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/concat-and-sideeffects/node_modules/pmodule/a.js | test/statsCases/concat-and-sideeffects/node_modules/pmodule/a.js | import { aa } from "./aa";
export const a = aa;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/asset-concat/index.js | test/statsCases/asset-concat/index.js | import png from "./images/file.png";
import svg from "./images/file.svg";
import jpg from "./images/file.jpg";
import html from "./static/file.html";
import text1 from "data:text/plain;base64,szsaAAdsadasdfafasfasAADas123aasdasd=="
import text2 from "data:text/plain,asd="
import text3 from "data:text/plain,XXXXXXXXXXXX... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/asset-concat/a.source.js | test/statsCases/asset-concat/a.source.js | const b = 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/asset-concat/webpack.config.js | test/statsCases/asset-concat/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index.js",
module: {
rules: [
{
test: /\.(png|jpg|svg)$/,
type: "asset"
},
{
test: /\.html$/,
type: "asset/resource",
generator: {
filename: "static/[name][ext]"
}
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/worker-public-path/index.js | test/statsCases/worker-public-path/index.js | const worker = new Worker(new URL("./worker.js", import.meta.url), {
type: "module"
});
worker.postMessage("ok");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/worker-public-path/worker.js | test/statsCases/worker-public-path/worker.js | function upper(str) {
return str.toUpperCase();
}
onmessage = async event => {
postMessage(`data: ${upper(event.data)}, thanks`);
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/worker-public-path/webpack.config.js | test/statsCases/worker-public-path/webpack.config.js | "use strict";
/** @type {import("../../../types").Configuration} */
module.exports = {
mode: "production",
entry: "./index.js",
output: {
filename: "[name]-[contenthash].js"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/asset/index.js | test/statsCases/asset/index.js | import png from "./images/file.png";
import svg from "./images/file.svg";
import jpg from "./images/file.jpg";
import html from "./static/file.html";
import text1 from "data:text/plain;base64,szsaAAdsadasdfafasfasAADas123aasdasd==";
import text2 from "data:text/plain,asd=";
import text3 from "data:text/plain,XXXXXXXXXX... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/asset/a.source.js | test/statsCases/asset/a.source.js | const b = 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/asset/webpack.config.js | test/statsCases/asset/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index.js",
module: {
rules: [
{
test: /\.(png|jpg|svg)$/,
type: "asset"
},
{
test: /\.html$/,
type: "asset/resource",
generator: {
filename: "static/[name][ext]"
}
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/aggressive-splitting-entry/index.js | test/statsCases/aggressive-splitting-entry/index.js | require("./a");
require("./b");
require("./c");
require("./d");
require("./e");
require("./f");
import("./g");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/aggressive-splitting-entry/b.js | test/statsCases/aggressive-splitting-entry/b.js | /*************************************************************************************************/
/*************************************************************************************************/
/*************************************************************************************************/
/*******************... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/aggressive-splitting-entry/g.js | test/statsCases/aggressive-splitting-entry/g.js | /*************************************************************************************************/
/*************************************************************************************************/
/*************************************************************************************************/
/*******************... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/aggressive-splitting-entry/d.js | test/statsCases/aggressive-splitting-entry/d.js | /*************************************************************************************************/
/*************************************************************************************************/
/*************************************************************************************************/
/*******************... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/aggressive-splitting-entry/f.js | test/statsCases/aggressive-splitting-entry/f.js | /*************************************************************************************************/
/*************************************************************************************************/
/*************************************************************************************************/
/*******************... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/aggressive-splitting-entry/e.js | test/statsCases/aggressive-splitting-entry/e.js | /*************************************************************************************************/
/*************************************************************************************************/
/*************************************************************************************************/
/*******************... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/aggressive-splitting-entry/webpack.config.js | test/statsCases/aggressive-splitting-entry/webpack.config.js | "use strict";
const path = require("path");
const webpack = require("../../../");
/** @type {import("../../../").Configuration[]} */
module.exports = ["fitting", "content-change"].map((type) => ({
name: type,
mode: "production",
cache: true, // AggressiveSplittingPlugin rebuilds multiple times, we need to cache th... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/aggressive-splitting-entry/c.js | test/statsCases/aggressive-splitting-entry/c.js | /*************************************************************************************************/
/*************************************************************************************************/
/*************************************************************************************************/
/*******************... | 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.