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/track-returned/index.js
test/statsCases/track-returned/index.js
function rand() { return Math.random() > 0.5; } it("should track return in function declaration", () => { function a1() { return; require("fail1"); } function a2() { if (true) return; require("fail2"); } function a3() { { { if (true) return; require("fail3"); } } } function a4() { ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
true
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/track-returned/test.config.js
test/statsCases/track-returned/test.config.js
"use strict"; module.exports = { /** * @param {import("../../../").Stats} stats stats */ validate(stats) { expect(stats.compilation.modules.size).toBe(246); } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/index.js
test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/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-ensure-filter-sourcemaps/b.js
test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/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-ensure-filter-sourcemaps/d.js
test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/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-ensure-filter-sourcemaps/e.js
test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/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-ensure-filter-sourcemaps/webpack.config.js
test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/webpack.config.js
"use strict"; /** @type {import("../../../").Configuration} */ module.exports = { mode: "production", devtool: "source-map", performance: { hints: "warning" }, entry: "./index", 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-ensure-filter-sourcemaps/c.js
test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/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-ensure-filter-sourcemaps/a.js
test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/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/module-trace-disabled-in-error/inner.js
test/statsCases/module-trace-disabled-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-disabled-in-error/index.js
test/statsCases/module-trace-disabled-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-disabled-in-error/not-existing.js
test/statsCases/module-trace-disabled-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-disabled-in-error/parse-error.js
test/statsCases/module-trace-disabled-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-disabled-in-error/webpack.config.js
test/statsCases/module-trace-disabled-in-error/webpack.config.js
"use strict"; /** @type {import("../../../").Configuration} */ module.exports = { mode: "production", entry: "./index", stats: { hash: false, moduleTrace: false, errorDetails: false } };
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-Infinity/entry-1.js
test/statsCases/commons-chunk-min-size-Infinity/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-Infinity/webpack.config.js
test/statsCases/commons-chunk-min-size-Infinity/webpack.config.js
"use strict"; /** @type {import("../../../").Configuration} */ module.exports = { mode: "production", entry: { "entry-1": "./entry-1" }, optimization: { splitChunks: { cacheGroups: { "vendor-1": { test: /modules[\\/][abc]/, chunks: "initial", name: "vendor-1", enforce: true } ...
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-Infinity/modules/b.js
test/statsCases/commons-chunk-min-size-Infinity/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-Infinity/modules/d.js
test/statsCases/commons-chunk-min-size-Infinity/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-Infinity/modules/f.js
test/statsCases/commons-chunk-min-size-Infinity/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-Infinity/modules/e.js
test/statsCases/commons-chunk-min-size-Infinity/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-Infinity/modules/c.js
test/statsCases/commons-chunk-min-size-Infinity/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-Infinity/modules/a.js
test/statsCases/commons-chunk-min-size-Infinity/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/preset-errors-only/index.js
test/statsCases/preset-errors-only/index.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/preset-errors-only/webpack.config.js
test/statsCases/preset-errors-only/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/preset-verbose/index.js
test/statsCases/preset-verbose/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-verbose/b.js
test/statsCases/preset-verbose/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-verbose/d.js
test/statsCases/preset-verbose/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-verbose/e.js
test/statsCases/preset-verbose/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-verbose/webpack.config.js
test/statsCases/preset-verbose/webpack.config.js
"use strict"; const LogTestPlugin = require("../../helpers/LogTestPlugin"); /** @type {import("../../../").Configuration} */ module.exports = { mode: "production", entry: "./index", profile: true, stats: "verbose", infrastructureLogging: { level: "verbose" }, plugins: [new LogTestPlugin()] };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/preset-verbose/c.js
test/statsCases/preset-verbose/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-verbose/a.js
test/statsCases/preset-verbose/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-dedup/index.js
test/statsCases/split-chunks-dedup/index.js
export default async () => { const { test } = await import(/* webpackMode: "eager" */'./module') test() };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-dedup/webpack.config.js
test/statsCases/split-chunks-dedup/webpack.config.js
"use strict"; /** @typedef {import("../../../").Module} Module */ const webpack = require("../../../"); const { WEBPACK_MODULE_TYPE_PROVIDE } = require("../../../lib/ModuleTypeConstants"); const { ModuleFederationPlugin } = webpack.container; const chunkIdChunkNameMap = new Map(); const usedSharedModuleNames = new...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-dedup/module.js
test/statsCases/split-chunks-dedup/module.js
import { table } from 'table' export function test() { expect(table([['1']])).toBe('<table><tr><td>1</td></tr></table>') }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-dedup/node_modules/row/index.js
test/statsCases/split-chunks-dedup/node_modules/row/index.js
const { cell } = require('cell') const { tmpl } = require('templater') module.exports.row = function(cells) { return tmpl(`<tr>CELLS</tr>`, { CELLS: cells.map(c => cell(c)).join('\n') }) }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-dedup/node_modules/cell/index.js
test/statsCases/split-chunks-dedup/node_modules/cell/index.js
const { tmpl } = require('templater') module.exports.cell = function(cell) { return tmpl(`<td>CELL</td>`, { CELL: cell }) }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-dedup/node_modules/templater/index.js
test/statsCases/split-chunks-dedup/node_modules/templater/index.js
module.exports.tmpl = function(str, params) { Object.keys(params).forEach((k) => { str = str.replace(new RegExp(k, 'g'), params[k]) }) return str }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-dedup/node_modules/table/index.js
test/statsCases/split-chunks-dedup/node_modules/table/index.js
const { row } = require('row') const { tmpl } = require('templater') module.exports.table = function(rows) { return tmpl('<table>ROWS</table>', { ROWS: rows.map(r => row(r)).join('\n') }) }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/external/index.js
test/statsCases/external/index.js
require("test");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/external/webpack.config.js
test/statsCases/external/webpack.config.js
"use strict"; /** @type {import("../../../").Configuration} */ module.exports = { mode: "production", entry: "./index", externals: { test: "commonjs test" } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/immutable/index.js
test/statsCases/immutable/index.js
import("./chunk");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/immutable/chunk.js
test/statsCases/immutable/chunk.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/immutable/webpack.config.js
test/statsCases/immutable/webpack.config.js
"use strict"; /** @type {import("../../../").Configuration} */ module.exports = { mode: "development", entry: "./index.js", output: { filename: "[contenthash].js" }, stats: { all: false, assets: true } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/max-modules/index.js
test/statsCases/max-modules/index.js
require("./a?1"); require("./a?2"); require("./a?3"); require("./a?4"); require("./a?5"); require("./a?6"); require("./a?7"); require("./a?8"); require("./a?9"); require("./a?10");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/max-modules/b.js
test/statsCases/max-modules/b.js
require("./a" + __resourceQuery);
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/max-modules/webpack.config.js
test/statsCases/max-modules/webpack.config.js
"use strict"; /** @type {import("../../../").Configuration} */ module.exports = { mode: "production", entry: "./index", performance: false, stats: { modulesSpace: 20 } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/max-modules/c.js
test/statsCases/max-modules/c.js
require("./b" + __resourceQuery)
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/max-modules/a.js
test/statsCases/max-modules/a.js
require("./c" + __resourceQuery)
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/scope-hoisting-multi/vendor.js
test/statsCases/scope-hoisting-multi/vendor.js
export default "vendor";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/scope-hoisting-multi/lazy_shared.js
test/statsCases/scope-hoisting-multi/lazy_shared.js
import a from "./common_lazy_shared"; export default a;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/scope-hoisting-multi/second.js
test/statsCases/scope-hoisting-multi/second.js
import v from "./vendor"; import c from "./common"; import(/* webpackChunkName: "lazy_second" */ "./lazy_second"); import(/* webpackChunkName: "lazy_shared" */ "./lazy_shared"); export default v + c;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/scope-hoisting-multi/common2.js
test/statsCases/scope-hoisting-multi/common2.js
export default "common";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/scope-hoisting-multi/module_first.js
test/statsCases/scope-hoisting-multi/module_first.js
export default "module first";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/scope-hoisting-multi/lazy_first.js
test/statsCases/scope-hoisting-multi/lazy_first.js
import a from "./common_lazy"; import b from "./common_lazy_shared"; export default a + b;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/scope-hoisting-multi/common.js
test/statsCases/scope-hoisting-multi/common.js
export { default } from "./common2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/scope-hoisting-multi/webpack.config.js
test/statsCases/scope-hoisting-multi/webpack.config.js
"use strict"; /** @type {import("../../../").Configuration[]} */ module.exports = [ { mode: "production", entry: { first: "./first", second: "./second" }, target: "web", output: { filename: "a-[name].js" }, optimization: { concatenateModules: false, splitChunks: { cacheGroups: { ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/scope-hoisting-multi/common_lazy_shared.js
test/statsCases/scope-hoisting-multi/common_lazy_shared.js
export default "common";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/scope-hoisting-multi/first.js
test/statsCases/scope-hoisting-multi/first.js
import v from "./vendor"; import c from "./common"; import x from "./module_first"; import(/* webpackChunkName: "lazy_first" */ "./lazy_first"); import(/* webpackChunkName: "lazy_shared" */ "./lazy_shared"); export default v + c + x;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/scope-hoisting-multi/common_lazy.js
test/statsCases/scope-hoisting-multi/common_lazy.js
export default "common";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/scope-hoisting-multi/lazy_second.js
test/statsCases/scope-hoisting-multi/lazy_second.js
import a from "./common_lazy"; import b from "./common_lazy_shared"; export default a + b;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/named-chunk-groups/index.js
test/statsCases/named-chunk-groups/index.js
import(/* webpackChunkName: "async-a" */ "./a"); import(/* webpackChunkName: "async-b" */ "./b"); import(/* webpackChunkName: "async-c" */ "./c");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/named-chunk-groups/b.js
test/statsCases/named-chunk-groups/b.js
import "./shared"; export default "b"; // content content content content content content content content // content content content content content content content content
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/named-chunk-groups/webpack.config.js
test/statsCases/named-chunk-groups/webpack.config.js
"use strict"; const stats = { hash: false, timings: false, builtAt: false, assets: false, chunks: true, chunkOrigins: true, modules: false }; const config = { mode: "production", entry: { main: "./" }, optimization: { splitChunks: { minSize: 100, cacheGroups: { vendors: { test: /[\\/]nod...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/named-chunk-groups/c.js
test/statsCases/named-chunk-groups/c.js
import x from "x"; import y from "y"; export default "c" + x + y;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/named-chunk-groups/shared.js
test/statsCases/named-chunk-groups/shared.js
// content content content content content content content content // content content content content content content content content console.log();
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/named-chunk-groups/a.js
test/statsCases/named-chunk-groups/a.js
import "./shared"; export default "a"; // content content content content content content content content // content content content content content content content content
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/named-chunk-groups/node_modules/x.js
test/statsCases/named-chunk-groups/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/named-chunk-groups/node_modules/y.js
test/statsCases/named-chunk-groups/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-min-size-reduction/index.js
test/statsCases/split-chunks-min-size-reduction/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");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-min-size-reduction/b.js
test/statsCases/split-chunks-min-size-reduction/b.js
import s from "shared?1"; export default "b" + s;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-min-size-reduction/d.js
test/statsCases/split-chunks-min-size-reduction/d.js
import s from "shared?2"; export default "c" + s;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-min-size-reduction/e.js
test/statsCases/split-chunks-min-size-reduction/e.js
import s from "shared?2"; export default "c" + s;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-min-size-reduction/webpack.config.js
test/statsCases/split-chunks-min-size-reduction/webpack.config.js
"use strict"; const stats = { hash: false, timings: false, builtAt: false, assets: false, chunks: true, chunkRelations: true, chunkModules: true, dependentModules: true, chunkOrigins: true, entrypoints: true, modules: false }; /** @type {import("../../../").Configuration} */ module.exports = { mode: "prod...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-min-size-reduction/c.js
test/statsCases/split-chunks-min-size-reduction/c.js
import s from "shared?2"; export default "c" + s;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-min-size-reduction/a.js
test/statsCases/split-chunks-min-size-reduction/a.js
import s from "shared?1"; export default "a" + s;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/split-chunks-min-size-reduction/node_modules/shared.js
test/statsCases/split-chunks-min-size-reduction/node_modules/shared.js
// content content content content content content // content content content content content content export default "shared"
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/async-commons-chunk-auto/index.js
test/statsCases/async-commons-chunk-auto/index.js
import(/* webpackChunkName: "async-a" */ "./a"); import(/* webpackChunkName: "async-b" */ "./b"); import(/* webpackChunkName: "async-c" */ "./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-auto/b.js
test/statsCases/async-commons-chunk-auto/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/async-commons-chunk-auto/g.js
test/statsCases/async-commons-chunk-auto/g.js
import f from "./f"; export default "g" + f;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/async-commons-chunk-auto/d.js
test/statsCases/async-commons-chunk-auto/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/async-commons-chunk-auto/f.js
test/statsCases/async-commons-chunk-auto/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/async-commons-chunk-auto/e.js
test/statsCases/async-commons-chunk-auto/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/async-commons-chunk-auto/webpack.config.js
test/statsCases/async-commons-chunk-auto/webpack.config.js
"use strict"; const path = require("path"); const stats = { hash: false, timings: false, builtAt: false, assets: false, chunks: true, chunkOrigins: true, modules: false }; /** @type {import("../../../").Configuration[]} */ module.exports = [ { name: "disabled", 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/async-commons-chunk-auto/c.js
test/statsCases/async-commons-chunk-auto/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/async-commons-chunk-auto/a.js
test/statsCases/async-commons-chunk-auto/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; import(/* webpackChunkName: "async-g" */ "./g");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/async-commons-chunk-auto/node_modules/xy.js
test/statsCases/async-commons-chunk-auto/node_modules/xy.js
export default "xy";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/async-commons-chunk-auto/node_modules/x.js
test/statsCases/async-commons-chunk-auto/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/async-commons-chunk-auto/node_modules/y.js
test/statsCases/async-commons-chunk-auto/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/async-commons-chunk-auto/node_modules/z.js
test/statsCases/async-commons-chunk-auto/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/async-commons-chunk-auto/node_modules/xyz.js
test/statsCases/async-commons-chunk-auto/node_modules/xyz.js
export default "xyz";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-issue-7428/main.js
test/statsCases/side-effects-issue-7428/main.js
import { CompA, CompB } from './components'; window.CompA = CompA; window.CompB = CompB; import('./foo').then((m) => { m.default.fnB(); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-issue-7428/foo.js
test/statsCases/side-effects-issue-7428/foo.js
import { CompA } from './components'; export default { ...CompA, fnB: () => { console.log('hi') } }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-issue-7428/webpack.config.js
test/statsCases/side-effects-issue-7428/webpack.config.js
"use strict"; /** @type {import("../../../").Configuration} */ module.exports = { mode: "none", entry: "./main.js", optimization: { usedExports: true, sideEffects: true, concatenateModules: true }, stats: { orphanModules: true, nestedModules: true, usedExports: true, reasons: true } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-issue-7428/components/src/index.js
test/statsCases/side-effects-issue-7428/components/src/index.js
export { CompA, CompB } from './CompAB'; export { default as CompC } from './CompC';
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-issue-7428/components/src/CompC/index.js
test/statsCases/side-effects-issue-7428/components/src/CompC/index.js
export { default } from './CompC';
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-issue-7428/components/src/CompC/CompC.js
test/statsCases/side-effects-issue-7428/components/src/CompC/CompC.js
export default { name: 'CompC' };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-issue-7428/components/src/CompAB/CompA.js
test/statsCases/side-effects-issue-7428/components/src/CompAB/CompA.js
import * as methods from './utils'; export default { name: 'CompA', ...methods, };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-issue-7428/components/src/CompAB/index.js
test/statsCases/side-effects-issue-7428/components/src/CompAB/index.js
export { default as CompA } from './CompA'; export { default as CompB } from './CompB';
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-issue-7428/components/src/CompAB/CompB.js
test/statsCases/side-effects-issue-7428/components/src/CompAB/CompB.js
import { fnB } from './utils'; export default { name: 'CompB', fnB, };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/statsCases/side-effects-issue-7428/components/src/CompAB/utils.js
test/statsCases/side-effects-issue-7428/components/src/CompAB/utils.js
export const fnA = () => { console.log('fnA') }; export const fnB = () => { console.log('fnB') };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false