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/cache/asset-concat/test.filter.js | test/watchCases/cache/asset-concat/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/cache/asset-concat/webpack.config.js | test/watchCases/cache/asset-concat/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
mode: "development",
cache: {
type: "memory"
},
module: {
rules: [
{
test: /\.png$/,
type: "asset/inline"
},
{
test: /\.jpg$/,
type: "asset/resource"
},
{
test: /\.svg$/,
type: "asset"
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/asset-concat/1/index.js | test/watchCases/cache/asset-concat/1/index.js | it("should generate assets correctly", () => {
const png = require("./images/file.png");
const svg = require("./images/file.svg");
const jpg = require("./images/file.jpg");
expect(png).toMatch(/^data:image\/png;base64,/);
expect(svg).toMatch(/^data:image\/svg\+xml;base64,/);
expect(jpg).toMatch(/\.jpg$/);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/asset-concat/0/index.js | test/watchCases/cache/asset-concat/0/index.js | import png from "./images/file.png";
import svg from "./images/file.svg";
import jpg from "./images/file.jpg";
it("should generate assets correctly", () => {
expect(png).toMatch(/^data:image\/png;base64,/);
expect(svg).toMatch(/^data:image\/svg\+xml;base64,/);
expect(jpg).toMatch(/\.jpg$/);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-web/webpack.config.js | test/watchCases/cache/new-split-chunk-entry-web/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
entry: {
bundle: "./index.js",
entry: { import: "./entry.js", runtime: "runtime" }
},
mode: "production",
cache: {
type: "memory"
},
output: {
filename: "[name].js",
pathinfo: true,
publicPath: "./",
library: {
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-web/5/module.js | test/watchCases/cache/new-split-chunk-entry-web/5/module.js | import "./shared-dep";
export {};
if (Math.random() < 0) console.log("module");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-web/2/module.js | test/watchCases/cache/new-split-chunk-entry-web/2/module.js | import("./shared");
import("./shared-dep");
export {};
if (Math.random() < 0) console.log("module");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-web/1/module.js | test/watchCases/cache/new-split-chunk-entry-web/1/module.js | import "./shared";
export {};
if (Math.random() < 0) console.log("module");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-web/0/shared-dep.js | test/watchCases/cache/new-split-chunk-entry-web/0/shared-dep.js | if (Math.random() < 0) console.log("shared-dep");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-web/0/index.js | test/watchCases/cache/new-split-chunk-entry-web/0/index.js | import fs from "fs";
import path from "path";
it("should include the correct split chunk ids in entry", async () => {
if (Math.random() < 0) import("./module");
const runtimeId = STATS_JSON.chunks.find(c => c.names.includes("runtime")).id;
const entryCode = fs.readFileSync(
path.resolve(__dirname, "entry.js"),
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-web/0/entry.js | test/watchCases/cache/new-split-chunk-entry-web/0/entry.js | import "./shared";
export default "ok";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-web/0/shared.js | test/watchCases/cache/new-split-chunk-entry-web/0/shared.js | import "./shared-dep";
if (Math.random() < 0) console.log("shared");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-web/0/module.js | test/watchCases/cache/new-split-chunk-entry-web/0/module.js | export {};
if (Math.random() < 0) console.log("module");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-web/4/module.js | test/watchCases/cache/new-split-chunk-entry-web/4/module.js | import "./shared";
export {};
if (Math.random() < 0) console.log("module");
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-web/3/entry.js | test/watchCases/cache/new-split-chunk-entry-web/3/entry.js | import "./shared";
export default "ok2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/switching-harmony/1/hh.js | test/watchCases/parsing/switching-harmony/1/hh.js | export default "hh1";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/switching-harmony/1/ch.js | test/watchCases/parsing/switching-harmony/1/ch.js | export default "ch1";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/switching-harmony/1/hc.js | test/watchCases/parsing/switching-harmony/1/hc.js | module.exports = "hc1";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/switching-harmony/1/cc.js | test/watchCases/parsing/switching-harmony/1/cc.js | module.exports = "cc1";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/switching-harmony/0/hh.js | test/watchCases/parsing/switching-harmony/0/hh.js | export default "hh0";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/switching-harmony/0/ch.js | test/watchCases/parsing/switching-harmony/0/ch.js | module.exports = "ch0";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/switching-harmony/0/hc.js | test/watchCases/parsing/switching-harmony/0/hc.js | export default "hc0";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/switching-harmony/0/index.js | test/watchCases/parsing/switching-harmony/0/index.js | import hh from "./hh";
import hc from "./hc";
import ch from "./ch";
import cc from "./cc";
it("should flag modules correctly", function() {
expect(hh).toBe("hh" + WATCH_STEP);
expect(cc).toBe("cc" + WATCH_STEP);
expect(hc).toBe("hc" + WATCH_STEP);
expect(ch).toBe("ch" + WATCH_STEP);
expect(require("./hh").defaul... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/switching-harmony/0/cc.js | test/watchCases/parsing/switching-harmony/0/cc.js | module.exports = "cc0";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/caching-harmony/1/changing-module.js | test/watchCases/parsing/caching-harmony/1/changing-module.js | export default "change";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/caching-harmony/0/changing-module.js | test/watchCases/parsing/caching-harmony/0/changing-module.js | export default "original";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/caching-harmony/0/index.js | test/watchCases/parsing/caching-harmony/0/index.js | import m from "./module";
import cm from "./changing-module";
it("should flag harmony modules correctly", function() {
expect(m).toBe("module" + WATCH_STEP);
switch(WATCH_STEP) {
case "0":
expect(cm).toBe("original");
break;
case "1":
expect(cm).toBe("change");
break;
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/caching-harmony/0/module.js | test/watchCases/parsing/caching-harmony/0/module.js | export default "module" + WATCH_STEP;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/reexport-chain/2/c.js | test/watchCases/parsing/reexport-chain/2/c.js | export var x2 = "2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/reexport-chain/2/a.js | test/watchCases/parsing/reexport-chain/2/a.js | export * from "./c";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/reexport-chain/1/c.js | test/watchCases/parsing/reexport-chain/1/c.js | export var x1 = "1";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/reexport-chain/0/index.js | test/watchCases/parsing/reexport-chain/0/index.js | import * as a from "./a";
const nsObj = m => {
Object.defineProperty(m, Symbol.toStringTag, { value: "Module" });
return m;
};
it("should have to correct exports", () => {
expect(a).toEqual(nsObj({
[`x${WATCH_STEP}`]: WATCH_STEP
}));
})
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/reexport-chain/0/b.js | test/watchCases/parsing/reexport-chain/0/b.js | export * from "./c";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/reexport-chain/0/c.js | test/watchCases/parsing/reexport-chain/0/c.js | export var x0 = "0";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/parsing/reexport-chain/0/a.js | test/watchCases/parsing/reexport-chain/0/a.js | export * from "./b";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/warnings/warnings-contribute-to-hash/1/changing-file.js | test/watchCases/warnings/warnings-contribute-to-hash/1/changing-file.js | New Warning
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/warnings/warnings-contribute-to-hash/1/warnings.js | test/watchCases/warnings/warnings-contribute-to-hash/1/warnings.js | "use strict";
module.exports = [[/New Warning/]];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/warnings/warnings-contribute-to-hash/0/changing-file.js | test/watchCases/warnings/warnings-contribute-to-hash/0/changing-file.js | Warning1
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/warnings/warnings-contribute-to-hash/0/warnings.js | test/watchCases/warnings/warnings-contribute-to-hash/0/warnings.js | "use strict";
module.exports = [[/Warning1/]];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/warnings/warnings-contribute-to-hash/0/index.js | test/watchCases/warnings/warnings-contribute-to-hash/0/index.js | require("./warning-loader!./changing-file");
it("should detect a change on warnings change", function() {
switch(WATCH_STEP) {
case "0":
STATE.hash = STATS_JSON.hash;
break;
case "1":
expect(STATS_JSON.hash).not.toBe(STATE.hash);
break;
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/warnings/warnings-contribute-to-hash/0/warning-loader.js | test/watchCases/warnings/warnings-contribute-to-hash/0/warning-loader.js | /** @type {import("../../../../../").LoaderDefinition} */
module.exports = function (source) {
this.emitWarning(new Error(source.trim()));
return "";
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/node-async-chunks-hmr/test.config.js | test/watchCases/chunks/node-async-chunks-hmr/test.config.js | "use strict";
module.exports = {
bundlePath: /^main\./
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/node-async-chunks-hmr/webpack.config.js | test/watchCases/chunks/node-async-chunks-hmr/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
devtool: false,
mode: "development",
target: "node",
optimization: {
minimize: false,
splitChunks: {
chunks: "all",
minSize: 1,
cacheGroups: {
react: {
test: /react/,
name: "react",
chunks: "all",
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/node-async-chunks-hmr/1/dynamic-1.js | test/watchCases/chunks/node-async-chunks-hmr/1/dynamic-1.js | export var value = "1";
function doNothing() {}
import("./dynamic-2").then(doNothing)
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/node-async-chunks-hmr/0/dynamic-2.js | test/watchCases/chunks/node-async-chunks-hmr/0/dynamic-2.js | export var value = "0";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/node-async-chunks-hmr/0/index.js | test/watchCases/chunks/node-async-chunks-hmr/0/index.js | import { react } from "./react";
function doNothing() {}
it("should work where an ESM entryChunk depends on the runtimeChunk", async function (done) {
const mainChunk = STATS_JSON.chunks.find((chunk) => chunk.id === "main");
const runtimeChunk = STATS_JSON.chunks.find((chunk) => chunk.id === "runtime-main");
const... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/node-async-chunks-hmr/0/dynamic-1.js | test/watchCases/chunks/node-async-chunks-hmr/0/dynamic-1.js | export var value = "0"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/node-async-chunks-hmr/0/react.js | test/watchCases/chunks/node-async-chunks-hmr/0/react.js | export const react = "react"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/esm-async-chunks-hmr/test.config.js | test/watchCases/chunks/esm-async-chunks-hmr/test.config.js | "use strict";
module.exports = {
bundlePath: /^main\./
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/esm-async-chunks-hmr/webpack.config.js | test/watchCases/chunks/esm-async-chunks-hmr/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
experiments: {
outputModule: true
},
optimization: {
splitChunks: {
chunks: "all",
minSize: 1,
cacheGroups: {
react: {
test: /react/,
name: "react",
chunks: "all",
priority: 100
}
}
},
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/esm-async-chunks-hmr/1/dynamic-1.js | test/watchCases/chunks/esm-async-chunks-hmr/1/dynamic-1.js | export var value = "1";
function doNothing() {}
import("./dynamic-2").then(doNothing)
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/esm-async-chunks-hmr/0/dynamic-2.js | test/watchCases/chunks/esm-async-chunks-hmr/0/dynamic-2.js | export var value = "0";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/esm-async-chunks-hmr/0/index.js | test/watchCases/chunks/esm-async-chunks-hmr/0/index.js | import { react } from "./react";
function doNothing() {}
it("should work where an ESM entryChunk depends on the runtimeChunk", async function (done) {
const mainChunk = STATS_JSON.chunks.find((chunk) => chunk.id === "main");
const runtimeChunk = STATS_JSON.chunks.find((chunk) => chunk.id === "runtime-main");
const... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/esm-async-chunks-hmr/0/dynamic-1.js | test/watchCases/chunks/esm-async-chunks-hmr/0/dynamic-1.js | export var value = "0"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/chunks/esm-async-chunks-hmr/0/react.js | test/watchCases/chunks/esm-async-chunks-hmr/0/react.js | export const react = "react"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/runtime/static-import/test.config.js | test/watchCases/runtime/static-import/test.config.js | "use strict";
module.exports = {
bundlePath: ["./runtime~main.js", "./main.js"]
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/runtime/static-import/webpack.config.js | test/watchCases/runtime/static-import/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
output: {
filename: "[name].js"
},
target: "web",
optimization: {
runtimeChunk: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/runtime/static-import/2/dynamic-and-static.js | test/watchCases/runtime/static-import/2/dynamic-and-static.js | module.exports = "Changed"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/runtime/static-import/1/static.js | test/watchCases/runtime/static-import/1/static.js | module.exports = "Changed"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/runtime/static-import/0/index.js | test/watchCases/runtime/static-import/0/index.js | import * as both from './dynamic-and-static'
import * as staticModule from './static'
it("should not change chunkhash of manifest chunk", function () {
const manifestChunk = STATS_JSON.chunks.find((chunk) => chunk.names.indexOf("runtime~main") !== -1);
expect(!manifestChunk).toBe(false);
switch (WATCH_STEP) {
cas... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/runtime/static-import/0/dynamic-and-static.js | test/watchCases/runtime/static-import/0/dynamic-and-static.js | module.exports = "Normal"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/runtime/static-import/0/static.js | test/watchCases/runtime/static-import/0/static.js | module.exports = "Normal"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/runtime/dynamic-import/webpack.config.js | test/watchCases/runtime/dynamic-import/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
output: {
chunkFilename: "[name].[chunkhash].js"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/runtime/dynamic-import/1/dynamic.js | test/watchCases/runtime/dynamic-import/1/dynamic.js | module.exports = "Changed"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/runtime/dynamic-import/0/dynamic.js | test/watchCases/runtime/dynamic-import/0/dynamic.js | module.exports = "Normal"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/runtime/dynamic-import/0/index.js | test/watchCases/runtime/dynamic-import/0/index.js | it("should change chunkhash of main chunk", function () {
const mainChunk = STATS_JSON.chunks.find((chunk) => chunk.names.indexOf("main") !== -1);
expect(mainChunk).toBeDefined();
switch (WATCH_STEP) {
case "0":
STATE.hash = mainChunk.hash;
break;
case "1":
expect(mainChunk.hash).not.toBe(STATE.hash);
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/recover-from-error/parse-failed-esm/2/errors.js | test/watchCases/recover-from-error/parse-failed-esm/2/errors.js | "use strict";
module.exports = [[/Module parse failed/]];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/recover-from-error/parse-failed-esm/2/node_modules/some-module/index.js | test/watchCases/recover-from-error/parse-failed-esm/2/node_modules/some-module/index.js | export default 42*;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/recover-from-error/parse-failed-esm/1/node_modules/some-module/index.js | test/watchCases/recover-from-error/parse-failed-esm/1/node_modules/some-module/index.js | export default 42;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/recover-from-error/parse-failed-esm/0/index.js | test/watchCases/recover-from-error/parse-failed-esm/0/index.js | it("should recover from syntax error in module", async () => {
switch (WATCH_STEP) {
case "0":
case "2":
await expect(import("test-module")).rejects.toEqual(
expect.objectContaining({
message: expect.stringContaining("Module parse failed")
})
);
break;
case "1":
await expect(import("test... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/recover-from-error/parse-failed-esm/0/errors.js | test/watchCases/recover-from-error/parse-failed-esm/0/errors.js | "use strict";
module.exports = [[/Module parse failed/]];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/recover-from-error/parse-failed-esm/0/node_modules/test-module/index.js | test/watchCases/recover-from-error/parse-failed-esm/0/node_modules/test-module/index.js | export { default as default } from "some-module";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/recover-from-error/parse-failed-esm/0/node_modules/some-module/index.js | test/watchCases/recover-from-error/parse-failed-esm/0/node_modules/some-module/index.js | export default 42*;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/recover-from-error/parse-failed-esm/3/node_modules/some-module/index.js | test/watchCases/recover-from-error/parse-failed-esm/3/node_modules/some-module/index.js | export default 43;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/recover-from-error/missing-module/1/node_modules/some-module/index.js | test/watchCases/recover-from-error/missing-module/1/node_modules/some-module/index.js | module.exports = "ok";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/recover-from-error/missing-module/0/index.js | test/watchCases/recover-from-error/missing-module/0/index.js | it("should recover from missing module", function() {
switch(WATCH_STEP) {
case "0":
expect(function() {
require("some-module");
}).toThrow();
break;
case "1":
expect(require("some-module")).toBe("ok");
break;
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/recover-from-error/missing-module/0/errors.js | test/watchCases/recover-from-error/missing-module/0/errors.js | "use strict";
module.exports = [[/Module not found/, /Can't resolve 'some-module' /]];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/recover-from-error/missing-module/0/node_modules/module/index.js | test/watchCases/recover-from-error/missing-module/0/node_modules/module/index.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/wasm/caching/test.filter.js | test/watchCases/wasm/caching/test.filter.js | "use strict";
const supportsWebAssembly = require("../../../helpers/supportsWebAssembly");
module.exports = () => supportsWebAssembly();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/wasm/caching/webpack.config.js | test/watchCases/wasm/caching/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
experiments: {
asyncWebAssembly: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/wasm/caching/2/module.js | test/watchCases/wasm/caching/2/module.js | export function getNumber() {
return 40;
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/wasm/caching/0/index.js | test/watchCases/wasm/caching/0/index.js | it("should allow to run a WebAssembly module with imports", function() {
return import("./wasm.wasm").then(function(wasm) {
const result = wasm.get();
switch(WATCH_STEP) {
case "0":
expect(result).toEqual(9);
break;
case "1":
expect(result).toEqual(10);
break;
case "2":
expect(result).... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/wasm/caching/0/module.js | test/watchCases/wasm/caching/0/module.js | export function getNumber() {
return 8;
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/dll-reference-plugin/webpack.config.js | test/watchCases/plugins/dll-reference-plugin/webpack.config.js | "use strict";
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
plugins: [
new webpack.DllReferencePlugin({
name: "function(id) { return {default: 'ok'}; }",
scope: "dll",
content: {
"./module": {
id: 1,
buildMeta: {
exports... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/dll-reference-plugin/2/index.js | test/watchCases/plugins/dll-reference-plugin/2/index.js | import value from "dll/module";
it("should have still the correct default export", function() {
expect(value).toBe("ok");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/dll-reference-plugin/1/index.js | test/watchCases/plugins/dll-reference-plugin/1/index.js | import value from "dll/module";
it("should have the correct default export", function() {
expect(value).toBe("ok");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/automatic-prefetch-plugin-9485/delayed.js | test/watchCases/plugins/automatic-prefetch-plugin-9485/delayed.js | module.exports = function (source) {
expect(source).toMatch(/^\}\)\]/);
this.cacheable(false);
return new Promise(resolve => {
setTimeout(() => {
resolve("module.exports = require('./foo/' + WATCH_STEP);");
}, 500);
});
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/automatic-prefetch-plugin-9485/webpack.config.js | test/watchCases/plugins/automatic-prefetch-plugin-9485/webpack.config.js | "use strict";
const path = require("path");
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
rules: [
{
test: /delayed/,
use: path.resolve(__dirname, "./delayed")
}
]
},
plugins: [new webpack.AutomaticPrefetchPlugin()]
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/automatic-prefetch-plugin-9485/2/foo/2.js | test/watchCases/plugins/automatic-prefetch-plugin-9485/2/foo/2.js | module.exports = '2';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/automatic-prefetch-plugin-9485/1/foo/1.js | test/watchCases/plugins/automatic-prefetch-plugin-9485/1/foo/1.js | module.exports = '1';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/automatic-prefetch-plugin-9485/0/index.js | test/watchCases/plugins/automatic-prefetch-plugin-9485/0/index.js | it("should watch for changes", function () {
if (+WATCH_STEP !== 3) expect(require("./delayed")).toBe(WATCH_STEP);
else expect(require("./delayed")).toBe("This is only a test." + WATCH_STEP);
if (+WATCH_STEP > 0) {
for (var m of STATS_JSON.modules.filter(m =>
/(a|b|c)\.js$/.test(m.identifier)
))
expect(m.i... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/automatic-prefetch-plugin-9485/0/delayed.js | test/watchCases/plugins/automatic-prefetch-plugin-9485/0/delayed.js | })]
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/automatic-prefetch-plugin-9485/0/foo/0.js | test/watchCases/plugins/automatic-prefetch-plugin-9485/0/foo/0.js | module.exports = '0';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/automatic-prefetch-plugin-9485/0/foo/b.js | test/watchCases/plugins/automatic-prefetch-plugin-9485/0/foo/b.js | module.exports = "is only ";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/automatic-prefetch-plugin-9485/0/foo/c.js | test/watchCases/plugins/automatic-prefetch-plugin-9485/0/foo/c.js | module.exports = "a test";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/automatic-prefetch-plugin-9485/0/foo/a.js | test/watchCases/plugins/automatic-prefetch-plugin-9485/0/foo/a.js | module.exports = "This ";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/automatic-prefetch-plugin-9485/3/foo/3.js | test/watchCases/plugins/automatic-prefetch-plugin-9485/3/foo/3.js | var a = require("./a");
var b = require("./b");
var c = require("./c");
module.exports = a + b + c + '.3';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/define-plugin/webpack.config.js | test/watchCases/plugins/define-plugin/webpack.config.js | "use strict";
const fs = require("fs");
const path = require("path");
const webpack = require("../../../../");
/** @type {(env: Env, options: TestOptions) => import("../../../../").Configuration} */
module.exports = (env, { srcPath }) => {
const valueFile = path.resolve(srcPath, "value.txt");
return {
plugins: [
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/define-plugin/0/module3.js | test/watchCases/plugins/define-plugin/0/module3.js | export default TEST_VALUE3;
export const type = typeof TEST_VALUE3;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/define-plugin/0/index.js | test/watchCases/plugins/define-plugin/0/index.js | it("should be able to use dynamic defines in watch mode", function () {
const module = require("./module");
expect(module).toEqual(
nsObj({
default: WATCH_STEP,
type: "string"
})
);
});
it("should not update a define when dependencies list is missing", function () {
const module2 = require("./module2");
... | 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.