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/parse-error/b.js | test/statsCases/parse-error/b.js | some
code
which
includes
a
parser )
error
in
some
line
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/parse-error/webpack.config.js | test/statsCases/parse-error/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
stats: {
timings: false,
builtAt: false,
hash: false,
modules: true,
chunks: false
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/parse-error/a.js | test/statsCases/parse-error/a.js |
import "./b";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-federation-custom-exposed-module-name/index.js | test/statsCases/module-federation-custom-exposed-module-name/index.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-federation-custom-exposed-module-name/entry.js | test/statsCases/module-federation-custom-exposed-module-name/entry.js | export default function bootstrap() {}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-federation-custom-exposed-module-name/webpack.config.js | test/statsCases/module-federation-custom-exposed-module-name/webpack.config.js | "use strict";
const { ModuleFederationPlugin } = require("../../../").container;
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index.js",
output: {
filename: "[name]_bundle.js"
},
plugins: [
new ModuleFederationPlugin({
name: "container",
exposes: {
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/preset-none-error/index.js | test/statsCases/preset-none-error/index.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/preset-none-error/webpack.config.js | test/statsCases/preset-none-error/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
stats: false
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/tree-shaking/unknown.js | test/statsCases/tree-shaking/unknown.js | console.log();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/tree-shaking/unknown2.js | test/statsCases/tree-shaking/unknown2.js | console.log();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/tree-shaking/reexport-unknown.js | test/statsCases/tree-shaking/reexport-unknown.js | export { a } from "./a";
export { b } from "./b";
export { c, d } from "./unknown";
console.log();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/tree-shaking/index.js | test/statsCases/tree-shaking/index.js | import { a as a1 } from "./reexport-known";
import { a as a2, c as c2 } from "./reexport-unknown";
import { a as a3 } from "./reexport-star-known";
import { a as a4, c as c4 } from "./reexport-star-unknown";
import { y } from "./edge";
console.log(a1, a2, a3, a4, c2, c4, y);
require.include("./require.include");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/tree-shaking/b.js | test/statsCases/tree-shaking/b.js | export var b;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/tree-shaking/require.include.js | test/statsCases/tree-shaking/require.include.js | export var a = 1;
export default 2;
console.log();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/tree-shaking/reexport-star-known.js | test/statsCases/tree-shaking/reexport-star-known.js | export * from "./a";
export * from "./b";
console.log();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/tree-shaking/reexport-known.js | test/statsCases/tree-shaking/reexport-known.js | export { a } from "./a";
export { b } from "./b"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/tree-shaking/webpack.config.js | test/statsCases/tree-shaking/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
output: {
filename: "bundle.js"
},
optimization: {
concatenateModules: false
},
stats: {
chunkModules: false,
modules: true,
providedExports: true,
usedExports: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/tree-shaking/reexport-star-unknown.js | test/statsCases/tree-shaking/reexport-star-unknown.js | export * from "./a";
export * from "./b";
export * from "./unknown";
console.log();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/tree-shaking/edge.js | test/statsCases/tree-shaking/edge.js | export var x = 1;
export * from "./unknown2";
console.log();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/tree-shaking/a.js | test/statsCases/tree-shaking/a.js | export var a;
console.log();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-specific-used-exports/dx-importer.js | test/statsCases/runtime-specific-used-exports/dx-importer.js | export default function importDx() {
return import("./dx");
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-specific-used-exports/reexport.js | test/statsCases/runtime-specific-used-exports/reexport.js | export * from "./module?reexported";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-specific-used-exports/dz.js | test/statsCases/runtime-specific-used-exports/dz.js | export { z, identity } from "./module?chunk";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-specific-used-exports/dw.js | test/statsCases/runtime-specific-used-exports/dw.js | export { w, identity } from "./module?chunk";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-specific-used-exports/dy.js | test/statsCases/runtime-specific-used-exports/dy.js | export { y, identity } from "./module?chunk";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-specific-used-exports/b.js | test/statsCases/runtime-specific-used-exports/b.js | import { y } from "./module";
import { y as yRe } from "./reexport";
import importDx from "./dx-importer";
(async () => {
const dx = await importDx();
const dz = await import("./dz");
const dw = await import("./dw");
console.log(y, yRe, dx, dz, dw);
})();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-specific-used-exports/dx.js | test/statsCases/runtime-specific-used-exports/dx.js | export { x, identity } from "./module?chunk";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-specific-used-exports/webpack.config.js | test/statsCases/runtime-specific-used-exports/webpack.config.js | "use strict";
const entry = {
a: "./a",
b: "./b",
c: "./c"
};
const stats = {
usedExports: true,
chunks: true,
chunkModules: true,
dependentModules: true,
modules: true,
orphanModules: true,
nestedModules: true
};
/** @type {import("../../../").Configuration[]} */
module.exports = [
{
name: "production"... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-specific-used-exports/c.js | test/statsCases/runtime-specific-used-exports/c.js | // empty
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-specific-used-exports/module.js | test/statsCases/runtime-specific-used-exports/module.js | export const w = "w";
export const x = "x";
export const y = "y";
export const z = "z";
export const identity = Symbol();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-specific-used-exports/a.js | test/statsCases/runtime-specific-used-exports/a.js | import { x } from "./module";
import { x as xRe } from "./reexport";
import importDx from "./dx-importer";
(async () => {
const dx = await importDx();
const dy = await import("./dy");
const dw = await import("./dw");
console.log(x, xRe, dx, dy, dw);
})();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-cache-group-filename/index.js | test/statsCases/split-chunks-cache-group-filename/index.js | import a from "a";
import b from "b";
import c from "c";
console.log(a, b, c);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-cache-group-filename/webpack.config.js | test/statsCases/split-chunks-cache-group-filename/webpack.config.js | "use strict";
/** @type {import("../../../types").Configuration} */
module.exports = {
mode: "production",
entry: {
main: "./"
},
optimization: {
splitChunks: {
cacheGroups: {
default: false,
vendors: {
chunks: "initial",
filename: "[name].vendors.js",
minSize: 1,
maxInitialSize:... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-cache-group-filename/node_modules/b.js | test/statsCases/split-chunks-cache-group-filename/node_modules/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/split-chunks-cache-group-filename/node_modules/c.js | test/statsCases/split-chunks-cache-group-filename/node_modules/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/split-chunks-cache-group-filename/node_modules/a.js | test/statsCases/split-chunks-cache-group-filename/node_modules/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/commons-chunk-min-size-0/entry-1.js | test/statsCases/commons-chunk-min-size-0/entry-1.js | require("./modules/a");
require("./modules/b");
require("./modules/c");
require("./modules/d");
require("./modules/e");
require("./modules/f");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/commons-chunk-min-size-0/webpack.config.js | test/statsCases/commons-chunk-min-size-0/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: {
"entry-1": "./entry-1"
},
optimization: {
splitChunks: {
minSize: 0,
chunks: "all",
cacheGroups: {
"vendor-1": /modules[\\/][abc]/
}
}
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/commons-chunk-min-size-0/modules/b.js | test/statsCases/commons-chunk-min-size-0/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/commons-chunk-min-size-0/modules/d.js | test/statsCases/commons-chunk-min-size-0/modules/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/commons-chunk-min-size-0/modules/f.js | test/statsCases/commons-chunk-min-size-0/modules/f.js | module.exports = "f";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/commons-chunk-min-size-0/modules/e.js | test/statsCases/commons-chunk-min-size-0/modules/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/commons-chunk-min-size-0/modules/c.js | test/statsCases/commons-chunk-min-size-0/modules/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/commons-chunk-min-size-0/modules/a.js | test/statsCases/commons-chunk-min-size-0/modules/a.js | module.exports = "a";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-not-found-error/index.js | test/statsCases/module-not-found-error/index.js | require('buffer')
require('os')
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/module-not-found-error/webpack.config.js | test/statsCases/module-not-found-error/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
stats: "errors-only"
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/async-commons-chunk/index.js | test/statsCases/async-commons-chunk/index.js | it("should load the full async commons", (done) => {
require.ensure(["./a"], (require) => {
expect(require("./a")).toBe("a");
done();
});
});
it("should load a chunk with async commons (AMD)", (done) => {
require(["./a", "./b"], (a, b) => {
expect(a).toBe("a");
expect(b).toBe("b");
done();
});
});
it("s... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/async-commons-chunk/b.js | test/statsCases/async-commons-chunk/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/async-commons-chunk/webpack.config.js | test/statsCases/async-commons-chunk/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./",
optimization: {
splitChunks: {
minSize: 0
}
},
stats: {
hash: false,
timings: false,
builtAt: false,
assets: false,
chunks: true,
chunkRelations: true,
chunkOrigins: true,
modu... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/async-commons-chunk/c.js | test/statsCases/async-commons-chunk/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/async-commons-chunk/a.js | test/statsCases/async-commons-chunk/a.js | module.exports = "a"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/performance-different-mode-and-target/index.js | test/statsCases/performance-different-mode-and-target/index.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-different-mode-and-target/webpack.config.js | test/statsCases/performance-different-mode-and-target/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration[]} */
module.exports = [
{
entry: "./index",
mode: "production",
target: "web",
output: {
filename: "warning.pro-web.js"
}
},
{
entry: "./index",
mode: "production",
target: "webworker",
output: {
filename: "warning.pro-webworker.js"... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/chunks-development/index.js | test/statsCases/chunks-development/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/chunks-development/b.js | test/statsCases/chunks-development/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/chunks-development/d.js | test/statsCases/chunks-development/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/chunks-development/e.js | test/statsCases/chunks-development/e.js | require("./a");
module.exports = "e";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/chunks-development/webpack.config.js | test/statsCases/chunks-development/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "development",
entry: "./index",
output: {
filename: "bundle.js"
},
profile: true,
stats: {
reasons: true,
chunks: true,
chunkModules: true,
dependentModules: true,
chunkRelations: true,
chunkOrigins: true,
mo... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/chunks-development/c.js | test/statsCases/chunks-development/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/chunks-development/a.js | test/statsCases/chunks-development/a.js | module.exports = "a";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-combinations/index.js | test/statsCases/split-chunks-combinations/index.js | import(/* webpackChunkName: "async-a" */ "./a");
import(/* webpackChunkName: "async-b" */ "./b");
import(/* webpackChunkName: "async-c" */ "./c");
import(/* webpackChunkName: "async-d" */ "./d");
import(/* webpackChunkName: "async-e" */ "./e");
import(/* webpackChunkName: "async-f" */ "./f");
import(/* webpackChunkName... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-combinations/b.js | test/statsCases/split-chunks-combinations/b.js | import x from "./x";
import y from "./y";
export default "b" + 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-combinations/g.js | test/statsCases/split-chunks-combinations/g.js | import x from "./x";
export default "g" + x;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-combinations/x.js | test/statsCases/split-chunks-combinations/x.js | // content content content content content content content content
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-combinations/d.js | test/statsCases/split-chunks-combinations/d.js | import x from "./x";
export default "d" + x;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-combinations/f.js | test/statsCases/split-chunks-combinations/f.js | import x from "./x";
export default "f" + x;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-combinations/e.js | test/statsCases/split-chunks-combinations/e.js | import x from "./x";
export default "e" + x;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-combinations/y.js | test/statsCases/split-chunks-combinations/y.js | // content content content content content content content content
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-combinations/webpack.config.js | test/statsCases/split-chunks-combinations/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 = {
mode: "production",
entry: {
main: "./"
},
output: {... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-combinations/c.js | test/statsCases/split-chunks-combinations/c.js | import x from "./x";
export default "c" + x;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-combinations/a.js | test/statsCases/split-chunks-combinations/a.js | import x from "./x";
import y from "./y";
export default "a" + x + y;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-optimization/index.js | test/statsCases/side-effects-optimization/index.js | import { huh, a } from "big-module";
import { smallVar } from "module-with-export";
console.log(huh, a, smallVar);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-optimization/webpack.config.js | test/statsCases/side-effects-optimization/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
const baseConfig = {
mode: "production",
entry: "./index",
stats: {
modulesSpace: Infinity,
optimizationBailout: true,
nestedModules: true,
usedExports: true,
providedExports: true
},
optimization: {
minimize: true
}
};
module.exports = ... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-optimization/node_modules/big-module/index.js | test/statsCases/side-effects-optimization/node_modules/big-module/index.js | export * from "./a";
export * from './log';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-optimization/node_modules/big-module/log.js | test/statsCases/side-effects-optimization/node_modules/big-module/log.js | export * from "module-with-export";
module.exports = function(msg) {
console.log(msg);
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-optimization/node_modules/big-module/a.js | test/statsCases/side-effects-optimization/node_modules/big-module/a.js | export * from "module-with-export";
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/side-effects-optimization/node_modules/module-with-export/index.js | test/statsCases/side-effects-optimization/node_modules/module-with-export/index.js | // Uncommenting this empty module with or without sideEffects: false in this package
// causes justToBeABigFile to appear in example2 bundle output.
export * from './emptyModule';
export const smallVar = "smallVar";
export const justToBeABigFile = [
"1337331337331337331337331337331337331337331337331337331337331337331... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-optimization/node_modules/module-with-export/emptyModule.js | test/statsCases/side-effects-optimization/node_modules/module-with-export/emptyModule.js | //# sourceMappingURL=DockPanel.Props.js.map | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/preset-none/index.js | test/statsCases/preset-none/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/webpack.config.js | test/statsCases/preset-none/webpack.config.js | "use strict";
const LogTestPlugin = require("../../helpers/LogTestPlugin");
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
stats: false,
plugins: [new LogTestPlugin()]
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/runtime-chunk-single/e2.js | test/statsCases/runtime-chunk-single/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-single/e1.js | test/statsCases/runtime-chunk-single/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-single/webpack.config.js | test/statsCases/runtime-chunk-single/webpack.config.js | "use strict";
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "development",
entry: {
e1: "./e1",
e2: "./e2"
},
output: {
filename: "[name].js",
chunkFilename: "[name].chunk.js"
},
stats: {
hash: false,
timings: false,
builtAt: false,
assets: false,
modules: false,
r... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/define-plugin/index.js | test/statsCases/define-plugin/index.js | module.exports = VALUE;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/define-plugin/webpack.config.js | test/statsCases/define-plugin/webpack.config.js | "use strict";
const fs = require("fs");
const join = require("path").join;
const webpack = require("../../../");
/**
* @param {string} path path
* @returns {string} JSON content of a file
*/
function read(path) {
return JSON.stringify(
fs.readFileSync(join(__dirname, path), "utf8").replace(/\r\n?/g, "\n")
);
}... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/context-independence/test.config.js | test/statsCases/context-independence/test.config.js | "use strict";
module.exports = {
/**
* @param {import("../../../").MultiStats} stats stats
*/
validate(stats) {
for (let i = 0; i < stats.stats.length; i += 2) {
const a = stats.stats[i].compilation.hash;
const b = stats.stats[i + 1].compilation.hash;
expect(a).toBe(b);
}
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/context-independence/webpack.config.js | test/statsCases/context-independence/webpack.config.js | "use strict";
const path = require("path");
/**
* @param {string} name name
* @param {string} devtool devtool
* @returns {import("../../../").Configuration} configuration
*/
const base = (name, devtool) => ({
mode: "production",
devtool,
module: {
rules: [
{
test: /chunk/,
loader: "babel-loader",
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/context-independence/a/index.js | test/statsCases/context-independence/a/index.js | console.log("test");
import("./chunk");
const module = Math.round(Math.random() * 100) % 2 === 0 ? "a" : "b";
import(/* webpackMode: "eager" */`c/${module}`).then(({ default: d }) => console.log(d));
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/context-independence/a/chunk.js | test/statsCases/context-independence/a/chunk.js | import test from "./module";
console.log(test);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/context-independence/a/module.js | test/statsCases/context-independence/a/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/context-independence/a/cc/b.js | test/statsCases/context-independence/a/cc/b.js | export default 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/context-independence/a/c/a.js | test/statsCases/context-independence/a/c/a.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/context-independence/b/index.js | test/statsCases/context-independence/b/index.js | console.log("test");
import("./chunk");
const module = Math.round(Math.random() * 100) % 2 === 0 ? "a" : "b";
import(/* webpackMode: "eager" */`c/${module}`).then(({ default: d }) => console.log(d));
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/context-independence/b/chunk.js | test/statsCases/context-independence/b/chunk.js | import test from "./module";
console.log(test);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/context-independence/b/module.js | test/statsCases/context-independence/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/context-independence/b/cc/b.js | test/statsCases/context-independence/b/cc/b.js | export default 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/context-independence/b/c/a.js | test/statsCases/context-independence/b/c/a.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/logging/index.js | test/statsCases/logging/index.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/logging/webpack.config.js | test/statsCases/logging/webpack.config.js | "use strict";
const LogTestPlugin = require("../../helpers/LogTestPlugin");
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
performance: false,
module: {
rules: [
{
test: /index\.js$/,
use: "custom-loader"
}
]
},
plugins: [new LogTestPl... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/logging/node_modules/custom-loader/index.js | test/statsCases/logging/node_modules/custom-loader/index.js | /* eslint-disable node/no-unsupported-features/node-builtins */
module.exports = function(source) {
const logger = this.getLogger ? this.getLogger() : console;
logger.time("Measure");
logger.error("An error");
logger.warn("A %s", "warning");
logger.group("Unimportant");
logger.info("Info message");
logger.log("J... | 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.