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/watchCases/context/loader-context-dep/0/index.js | test/watchCases/context/loader-context-dep/0/index.js | it("should detect changes in a loader context dependency", function() {
var result = require("./loader!");
expect(result.length).toBe(+WATCH_STEP % 3 + 1);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/context/loader-context-dep/0/loader.js | test/watchCases/context/loader-context-dep/0/loader.js | const path = require("path");
const directory = path.resolve(__dirname, "directory");
/** @type {import("../../../../../").LoaderDefinition} */
module.exports = function () {
this.addContextDependency(directory);
const callback = this.async();
this.fs.readdir(directory, (err, _files) => {
if (err) return callback... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/context/loader-context-dep/3/directory/b.js | test/watchCases/context/loader-context-dep/3/directory/b.js | DELETE
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/context/loader-context-dep/3/directory/a.js | test/watchCases/context/loader-context-dep/3/directory/a.js | DELETE
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/side-effects/issue-7400/test.filter.js | test/watchCases/side-effects/issue-7400/test.filter.js | "use strict";
module.exports = (config) =>
!(config.experiments && config.experiments.cacheUnaffected);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/side-effects/issue-7400/webpack.config.js | test/watchCases/side-effects/issue-7400/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
optimization: {
sideEffects: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/side-effects/issue-7400/1/index.js | test/watchCases/side-effects/issue-7400/1/index.js | import { doStuff } from "./require-me";
it("should compile correctly", () => {
expect(doStuff()).toEqual(42);
expect(WATCH_STEP).toEqual("1");
}); | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/side-effects/issue-7400/0/index.js | test/watchCases/side-effects/issue-7400/0/index.js | import { doStuff } from "./require-me";
it("should compile correctly", () => {
expect(doStuff()).toEqual(42);
expect(WATCH_STEP).toEqual("0");
}); | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/side-effects/issue-7400/0/require-me.js | test/watchCases/side-effects/issue-7400/0/require-me.js | import { myFunction } from "./my-module";
export function doStuff() {
return myFunction();
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/side-effects/issue-7400/0/my-module/index.js | test/watchCases/side-effects/issue-7400/0/my-module/index.js | export { default as myFunction } from './myFunction'
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/side-effects/issue-7400/0/my-module/myFunction.js | test/watchCases/side-effects/issue-7400/0/my-module/myFunction.js | export default function myFunction() {
return 42;
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/runner/index.js | test/runner/index.js | "use strict";
const fs = require("fs");
const { Module } = require("module");
const path = require("path");
const { fileURLToPath, pathToFileURL } = require("url");
const vm = require("vm");
const [major] = process.versions.node.split(".").map(Number);
/**
* @param {string} path path
* @returns {string} subPath
*... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/prefetch-preload-mixed/c2.js | test/statsCases/prefetch-preload-mixed/c2.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/prefetch-preload-mixed/a1.js | test/statsCases/prefetch-preload-mixed/a1.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/prefetch-preload-mixed/index.js | test/statsCases/prefetch-preload-mixed/index.js | import(/* webpackPrefetch: true, webpackChunkName: "a" */"./a");
import(/* webpackPrefetch: true, webpackChunkName: "b" */"./b");
import(/* webpackPrefetch: true, webpackChunkName: "c" */"./c");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/prefetch-preload-mixed/b.js | test/statsCases/prefetch-preload-mixed/b.js | import(/* webpackPrefetch: true, webpackChunkName: "b1" */ "./b1");
import(/* webpackPreload: true, webpackChunkName: "b2" */ "./b2");
import(/* webpackPrefetch: true, webpackChunkName: "b3" */ "./b3");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/prefetch-preload-mixed/b2.js | test/statsCases/prefetch-preload-mixed/b2.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/prefetch-preload-mixed/b3.js | test/statsCases/prefetch-preload-mixed/b3.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/prefetch-preload-mixed/b1.js | test/statsCases/prefetch-preload-mixed/b1.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/prefetch-preload-mixed/c1.js | test/statsCases/prefetch-preload-mixed/c1.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/prefetch-preload-mixed/a2.js | test/statsCases/prefetch-preload-mixed/a2.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/prefetch-preload-mixed/webpack.config.js | test/statsCases/prefetch-preload-mixed/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
stats: {
all: false,
chunkRelations: true,
chunks: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/prefetch-preload-mixed/c.js | test/statsCases/prefetch-preload-mixed/c.js | import(/* webpackPreload: true, webpackChunkName: "c1" */ "./c1");
import(/* webpackPreload: true, webpackChunkName: "c2" */ "./c2");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/prefetch-preload-mixed/a.js | test/statsCases/prefetch-preload-mixed/a.js | import(/* webpackPrefetch: true, webpackChunkName: "a1" */ "./a1");
import(/* webpackPrefetch: true, webpackChunkName: "a2" */ "./a2");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-disabled/index.js | test/statsCases/performance-disabled/index.js | require("./a");
require(["./b"]);
require(["./c"]);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-disabled/b.js | test/statsCases/performance-disabled/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-disabled/d.js | test/statsCases/performance-disabled/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-disabled/e.js | test/statsCases/performance-disabled/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-disabled/webpack.config.js | test/statsCases/performance-disabled/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
stats: {
colors: true,
hash: false,
entrypoints: true
},
performance: false
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-disabled/c.js | test/statsCases/performance-disabled/c.js | require.ensure(["./d", "./e"], function(require) {});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-disabled/a.js | test/statsCases/performance-disabled/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/optimize-chunks/index.js | test/statsCases/optimize-chunks/index.js | require.ensure(["./modules/a", "./modules/b"], function() {
require.ensure(["./modules/a", "./modules/c"], function() {
require.ensure(["./modules/a", "./modules/b"], function() {
}, "chunk");
}, "ac in ab");
}, "ab");
require.ensure(["./modules/a", "./modules/b", "./modules/d"], function() {
require.ensure([".... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/optimize-chunks/circular2.js | test/statsCases/optimize-chunks/circular2.js | require.ensure(["./circular1", "./modules/f"], function() {}, "cir1 from cir2");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/optimize-chunks/webpack.config.js | test/statsCases/optimize-chunks/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
stats: {
ids: true,
reasons: false,
modules: false,
chunks: true,
chunkRelations: true,
chunkModules: true,
dependentModules: true,
chunkOrigins: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/optimize-chunks/circular1.js | test/statsCases/optimize-chunks/circular1.js | require.ensure(["./circular2", "./modules/e"], function() {}, "cir2 from cir1");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/optimize-chunks/modules/b.js | test/statsCases/optimize-chunks/modules/b.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/optimize-chunks/modules/d.js | test/statsCases/optimize-chunks/modules/d.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/optimize-chunks/modules/f.js | test/statsCases/optimize-chunks/modules/f.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/optimize-chunks/modules/e.js | test/statsCases/optimize-chunks/modules/e.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/optimize-chunks/modules/c.js | test/statsCases/optimize-chunks/modules/c.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/optimize-chunks/modules/a.js | test/statsCases/optimize-chunks/modules/a.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-chunk-issue-7382/e2.js | test/statsCases/runtime-chunk-issue-7382/e2.js | module.exports = "entry2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-chunk-issue-7382/e1.js | test/statsCases/runtime-chunk-issue-7382/e1.js | module.exports = "entry1";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-chunk-issue-7382/webpack.config.js | test/statsCases/runtime-chunk-issue-7382/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "development",
entry: {
e1: "./e1",
e2: "./e2"
},
output: {
filename: "[name].js"
},
stats: {
hash: false,
timings: false,
builtAt: false,
assets: false,
modules: false,
reasons: true
},
optimization: {
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/details-error/index.js | test/statsCases/details-error/index.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/details-error/webpack.config.js | test/statsCases/details-error/webpack.config.js | "use strict";
const { WebpackError } = require("../../../");
/** @type {import("../../../").Configuration[]} */
module.exports = [0, 1, 10, 2, 20, 11, 12, 13, 3, 30].map((n) => ({
name: `${n % 10} errors ${(n / 10) | 0} warnings`,
mode: "development",
output: {
filename: `${n}.js`
},
entry: "./index.js",
plug... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-reasons/index.js | test/statsCases/module-reasons/index.js | import "./a";
import "./b"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-reasons/b.js | test/statsCases/module-reasons/b.js | require("./c");
export const b = "b"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-reasons/webpack.config.js | test/statsCases/module-reasons/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
stats: {
modules: true,
reasons: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-reasons/c.js | test/statsCases/module-reasons/c.js | // empty | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-reasons/a.js | test/statsCases/module-reasons/a.js | require("./c");
export const a = "a";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/dll-reference-plugin-issue-7624/entry.js | test/statsCases/dll-reference-plugin-issue-7624/entry.js | // Intentionally left blank.
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/dll-reference-plugin-issue-7624/webpack.config.js | test/statsCases/dll-reference-plugin-issue-7624/webpack.config.js | "use strict";
const path = require("path");
const webpack = require("../../../");
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./entry.js",
output: {
filename: "bundle.js"
},
plugins: [
new webpack.DllReferencePlugin({
manifest: path.resolve(__dirname, ".... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/preset-normal-performance/index.js | test/statsCases/preset-normal-performance/index.js | require("./a");
require(["./b"]);
require(["./c"]);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/preset-normal-performance/b.js | test/statsCases/preset-normal-performance/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/preset-normal-performance/d.js | test/statsCases/preset-normal-performance/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/preset-normal-performance/e.js | test/statsCases/preset-normal-performance/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/preset-normal-performance/webpack.config.js | test/statsCases/preset-normal-performance/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
performance: {
hints: "warning"
},
stats: {
hash: false,
colors: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/preset-normal-performance/c.js | test/statsCases/preset-normal-performance/c.js | require.ensure(["./d", "./e"], function(require) {});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/preset-normal-performance/a.js | test/statsCases/preset-normal-performance/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/dynamic-chunk-name-error/dynamic.js | test/statsCases/dynamic-chunk-name-error/dynamic.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/dynamic-chunk-name-error/entry-2.js | test/statsCases/dynamic-chunk-name-error/entry-2.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/dynamic-chunk-name-error/entry-3.js | test/statsCases/dynamic-chunk-name-error/entry-3.js | (() => import(/* webpackChunkName: "entry3" */"./dynamic"))();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/dynamic-chunk-name-error/entry-1.js | test/statsCases/dynamic-chunk-name-error/entry-1.js | (() => import(/* webpackChunkName: "entry2" */"./dynamic"))();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/dynamic-chunk-name-error/webpack.config.js | test/statsCases/dynamic-chunk-name-error/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: {
entry1: "./entry-1.js",
entry2: "./entry-2.js",
entry3: "./entry-3.js"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/circular-correctness/module-c.js | test/statsCases/circular-correctness/module-c.js | import(/* webpackChunkName: "a" */"./module-a");
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/circular-correctness/index.js | test/statsCases/circular-correctness/index.js | import(/* webpackChunkName: "a" */"./module-a");
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/circular-correctness/module-b.js | test/statsCases/circular-correctness/module-b.js | 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/circular-correctness/module-a2.js | test/statsCases/circular-correctness/module-a2.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/circular-correctness/webpack.config.js | test/statsCases/circular-correctness/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
output: {
filename: "bundle.js"
},
stats: {
hash: false,
timings: false,
builtAt: false,
assets: false,
chunks: true,
chunkRelations: true,
chunkModules: true,
dependentModules... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/circular-correctness/module-a.js | test/statsCases/circular-correctness/module-a.js | 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/circular-correctness/module-b2.js | test/statsCases/circular-correctness/module-b2.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/import-weak/entry.js | test/statsCases/import-weak/entry.js | import(/* webpackMode: "weak" */"./modules/a");
import(/* webpackMode: "weak" */"./modules/b");
import("./modules/b");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/import-weak/webpack.config.js | test/statsCases/import-weak/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: {
entry: "./entry"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/import-weak/modules/b.js | test/statsCases/import-weak/modules/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/import-weak/modules/a.js | test/statsCases/import-weak/modules/a.js | import("./b");
module.exports = "a";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/chunk-assets/index.js | test/statsCases/chunk-assets/index.js | export default "foo"
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/chunk-assets/test.config.js | test/statsCases/chunk-assets/test.config.js | "use strict";
module.exports = {
/**
* @param {import("../../../").Stats} stats stats
*/
validate(stats) {
const _stats = stats.toJson({
assets: true
});
let chunks;
expect((chunks = Object.keys(_stats.assetsByChunkName))).toHaveLength(1);
const chunk = chunks[0];
expect(_stats.assetsByChunkName[c... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/chunk-assets/webpack.config.js | test/statsCases/chunk-assets/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
devtool: "source-map",
output: {
filename: "bundle.js"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/warnings-space-warning/index.js | test/statsCases/warnings-space-warning/index.js | import { bb } from "./a";
console.log(bb);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/warnings-space-warning/webpack.config.js | test/statsCases/warnings-space-warning/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
entry: "./index.js",
mode: "production",
stats: {
warningsSpace: 0,
warnings: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/warnings-space-warning/a.js | test/statsCases/warnings-space-warning/a.js | export const a = 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/commons-plugin-issue-4980/entry-2.js | test/statsCases/commons-plugin-issue-4980/entry-2.js | import subB from './submodule-a'
import subC from './submodule-c';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/commons-plugin-issue-4980/entry-1.js | test/statsCases/commons-plugin-issue-4980/entry-1.js | import subA from './submodule-a';
import subB from './submodule-b'
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/commons-plugin-issue-4980/constants.js | test/statsCases/commons-plugin-issue-4980/constants.js | export const a = "a";
export const b = "b";
export const c = "c";
export default "d";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/commons-plugin-issue-4980/submodule-c.js | test/statsCases/commons-plugin-issue-4980/submodule-c.js | import { a, b, c } from './constants';
export default a + b + c;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/commons-plugin-issue-4980/webpack.config.js | test/statsCases/commons-plugin-issue-4980/webpack.config.js | "use strict";
// should generate vendor chunk with the same chunkhash for both entries
/** @type {import("../../../").Configuration[]} */
module.exports = [
{
mode: "production",
output: {
filename: "[name].[chunkhash]-1.js"
},
entry: {
app: "./entry-1.js"
},
optimization: {
splitChunks: {
ca... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/commons-plugin-issue-4980/submodule-a.js | test/statsCases/commons-plugin-issue-4980/submodule-a.js | import d, { a } from './constants';
export default d + a;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/commons-plugin-issue-4980/submodule-b.js | test/statsCases/commons-plugin-issue-4980/submodule-b.js | import { b, c } from './constants';
export default b + c;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-chunk-integration/main3.js | test/statsCases/runtime-chunk-integration/main3.js | export default "3";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-chunk-integration/main2.js | test/statsCases/runtime-chunk-integration/main2.js | export default "2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-chunk-integration/b.js | test/statsCases/runtime-chunk-integration/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/runtime-chunk-integration/d.js | test/statsCases/runtime-chunk-integration/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/runtime-chunk-integration/main1.js | test/statsCases/runtime-chunk-integration/main1.js | import("./b");
import("./c");
import("./d");
export default "a";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-chunk-integration/webpack.config.js | test/statsCases/runtime-chunk-integration/webpack.config.js | "use strict";
const { MinChunkSizePlugin } = require("../../../").optimize;
/** @type {import("../../../").Configuration} */
const baseConfig = {
mode: "production",
target: "web",
stats: {
hash: false,
timings: false,
builtAt: false
},
plugins: [
new MinChunkSizePlugin({
minChunkSize: 1000
})
]
};... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-chunk-integration/c.js | test/statsCases/runtime-chunk-integration/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/runtime-chunk/e2.js | test/statsCases/runtime-chunk/e2.js | module.exports = "entry2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-chunk/e1.js | test/statsCases/runtime-chunk/e1.js | module.exports = "entry1";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-chunk/webpack.config.js | test/statsCases/runtime-chunk/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "development",
entry: {
e1: "./e1",
e2: "./e2"
},
output: {
filename: "[name].js"
},
stats: {
hash: false,
timings: false,
builtAt: false,
assets: false,
modules: false,
reasons: false
},
optimization: {
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/parse-error/index.js | test/statsCases/parse-error/index.js |
import "./a";
| 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.