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/plugins/define-plugin/0/module2.js | test/watchCases/plugins/define-plugin/0/module2.js | export default TEST_VALUE2;
export const type = typeof TEST_VALUE2;
| 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/module5.js | test/watchCases/plugins/define-plugin/0/module5.js | export default TEST_VALUE5;
export const type = typeof TEST_VALUE5;
| 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/module4.js | test/watchCases/plugins/define-plugin/0/module4.js | export default TEST_VALUE4;
export const type = typeof TEST_VALUE4;
| 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/module.js | test/watchCases/plugins/define-plugin/0/module.js | export default TEST_VALUE;
export const type = typeof TEST_VALUE;
| 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/webpack.config.js | test/watchCases/plugins/automatic-prefetch-plugin/webpack.config.js | "use strict";
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
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/2/foo/2.js | test/watchCases/plugins/automatic-prefetch-plugin/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/1/foo/1.js | test/watchCases/plugins/automatic-prefetch-plugin/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/0/index.js | test/watchCases/plugins/automatic-prefetch-plugin/0/index.js | it("should watch for changes", function() {
if(+WATCH_STEP !== 3)
expect(require("./delayed!./delayed")).toBe(WATCH_STEP);
else
expect(require("./delayed!./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)))... | 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/0/delayed.js | test/watchCases/plugins/automatic-prefetch-plugin/0/delayed.js | module.exports = function() {
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/0/foo/0.js | test/watchCases/plugins/automatic-prefetch-plugin/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/0/foo/b.js | test/watchCases/plugins/automatic-prefetch-plugin/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/0/foo/c.js | test/watchCases/plugins/automatic-prefetch-plugin/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/0/foo/a.js | test/watchCases/plugins/automatic-prefetch-plugin/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/3/foo/3.js | test/watchCases/plugins/automatic-prefetch-plugin/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/virtual-url-plugin-version/webpack.config.js | test/watchCases/plugins/virtual-url-plugin-version/webpack.config.js | "use strict";
const fs = require("fs");
const path = require("path");
const webpack = require("../../../../");
const { VirtualUrlPlugin } = webpack.experiments.schemes;
let watchStep = -1;
/** @type {import("../../../../types").Configuration} */
module.exports = {
plugins: [
new VirtualUrlPlugin({
routes: {
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/virtual-url-plugin-version/1/v.js | test/watchCases/plugins/virtual-url-plugin-version/1/v.js | export const routes = 'v1' | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/virtual-url-plugin-version/1/index.js | test/watchCases/plugins/virtual-url-plugin-version/1/index.js | import { routes } from "virtual:routes";
import { watchStep } from "virtual:watchStep";
import { constStep } from "virtual:constStep";
it("should have correct read from an external file", function() {
expect(routes).toBe("v1");
});
it("should always rebuild when version set to true", function() {
expect(watchStep).... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/virtual-url-plugin-version/0/v.js | test/watchCases/plugins/virtual-url-plugin-version/0/v.js | export const routes = 'v0' | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/virtual-url-plugin-version/0/index.js | test/watchCases/plugins/virtual-url-plugin-version/0/index.js | import { routes } from "virtual:routes";
import { watchStep } from "virtual:watchStep";
import { constStep } from "virtual:constStep";
it("should have correct exports when read from an external file", function() {
expect(routes).toBe("v0");
});
it("should always rebuild when version set to true", function() {
expec... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/mini-css-extract-plugin/webpack.config.js | test/watchCases/plugins/mini-css-extract-plugin/webpack.config.js | "use strict";
const MCEP = require("mini-css-extract-plugin");
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
rules: [
{
test: /\.css$/,
use: [MCEP.loader, "css-loader"]
}
]
},
output: {
publicPath: "",
pathinfo: false
},
target: "web",
node: {
__dirname... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/mini-css-extract-plugin/1/index.js | test/watchCases/plugins/mini-css-extract-plugin/1/index.js | import "./a.css";
import "./b.css";
const fs = __non_webpack_require__("fs");
const path = __non_webpack_require__("path");
it("should load a chunk with css", () => {
const linkStart = document.getElementsByTagName("link").length;
const scriptStart = document.getElementsByTagName("script").length;
const promise = ... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/mini-css-extract-plugin/1/chunk.js | test/watchCases/plugins/mini-css-extract-plugin/1/chunk.js | import "./chunk.css";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/dotenv-plugin/webpack.config.js | test/watchCases/plugins/dotenv-plugin/webpack.config.js | "use strict";
/** @type {(env: Env, options: TestOptions) => import("../../../../").Configuration} */
module.exports = (env, { srcPath, testPath }) => ({
mode: "development",
devtool: false,
dotenv: {
prefix: "WEBPACK_",
dir: srcPath,
template: [".env", ".env.myLocal", ".env.[mode]", ".env.[mode].myLocal"]
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/dotenv-plugin/2/index.js | test/watchCases/plugins/dotenv-plugin/2/index.js | it("should override .env values with .env.development in step 2", function () {
expect(process.env.WEBPACK_API_URL).toBe("https://api2.example.com");
// WEBPACK_FEATURE_FLAG should be overridden by .env.development
expect(process.env.WEBPACK_FEATURE_FLAG).toBe("true");
expect(process.env.WEBPACK_NEW_VAR).toBe("adde... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/dotenv-plugin/1/index.js | test/watchCases/plugins/dotenv-plugin/1/index.js | it("should load new variable added to .env file in step 1", function () {
expect(process.env.WEBPACK_API_URL).toBe("https://api1.example.com");
expect(process.env.WEBPACK_FEATURE_FLAG).toBe("false");
expect(process.env.WEBPACK_NEW_VAR).toBe("added-in-step-1");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/dotenv-plugin/0/index.js | test/watchCases/plugins/dotenv-plugin/0/index.js | it("should load env variables from .env file in step 0", function () {
expect(process.env.WEBPACK_API_URL).toBe("https://api0.example.com");
expect(process.env.WEBPACK_FEATURE_FLAG).toBe("false");
expect(process.env.WEBPACK_NEW_VAR).toBeUndefined();
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/watch-ignore-plugin/webpack.config.js | test/watchCases/plugins/watch-ignore-plugin/webpack.config.js | "use strict";
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
plugins: [new webpack.WatchIgnorePlugin({ paths: [/file\.js$/, /foo$/] })]
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/watch-ignore-plugin/2/file.js | test/watchCases/plugins/watch-ignore-plugin/2/file.js | export default 3;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/watch-ignore-plugin/2/a.js | test/watchCases/plugins/watch-ignore-plugin/2/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/watchCases/plugins/watch-ignore-plugin/2/foo/2.js | test/watchCases/plugins/watch-ignore-plugin/2/foo/2.js | export default 2;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/watch-ignore-plugin/1/file.js | test/watchCases/plugins/watch-ignore-plugin/1/file.js | export default 2;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/watch-ignore-plugin/1/a.js | test/watchCases/plugins/watch-ignore-plugin/1/a.js | export default 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/watch-ignore-plugin/1/foo/1.js | test/watchCases/plugins/watch-ignore-plugin/1/foo/1.js | export default 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/watch-ignore-plugin/0/index.js | test/watchCases/plugins/watch-ignore-plugin/0/index.js | import value from "./file"
import a from "./a"
const req = require.context("./foo", false, /^.*\.js$/);
it("should ignore change to file and directory", function() {
expect(a).toBe(+WATCH_STEP);
expect(req.keys()).toEqual(["./0.js"])
expect(value).toBe(1);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/watch-ignore-plugin/0/file.js | test/watchCases/plugins/watch-ignore-plugin/0/file.js | export default 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/watch-ignore-plugin/0/a.js | test/watchCases/plugins/watch-ignore-plugin/0/a.js | export default 0;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/watch-ignore-plugin/0/foo/0.js | test/watchCases/plugins/watch-ignore-plugin/0/foo/0.js | export default 0;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/module-concatenation-plugin/webpack.config.js | test/watchCases/plugins/module-concatenation-plugin/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
mode: "production"
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/module-concatenation-plugin/2/bar/c.js | test/watchCases/plugins/module-concatenation-plugin/2/bar/c.js | export default ' working';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/module-concatenation-plugin/2/foo/2.js | test/watchCases/plugins/module-concatenation-plugin/2/foo/2.js | module.exports = require('../bar/abc').default + '.2';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/module-concatenation-plugin/1/bar/b.js | test/watchCases/plugins/module-concatenation-plugin/1/bar/b.js | export default 'should be';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/module-concatenation-plugin/1/foo/1.js | test/watchCases/plugins/module-concatenation-plugin/1/foo/1.js | module.exports = require('../bar/abc').default + '.1';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/module-concatenation-plugin/0/index.js | test/watchCases/plugins/module-concatenation-plugin/0/index.js | it("should watch for changes", function () {
if (WATCH_STEP === "0") {
expect(require("./foo/" + WATCH_STEP)).toBe(
"This is only a test." + WATCH_STEP
);
} else if (WATCH_STEP === "1") {
expect(require("./foo/" + WATCH_STEP)).toBe(
"This should be a test." + WATCH_STEP
);
} else if (WATCH_STEP === "2"... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/module-concatenation-plugin/0/bar/abc.js | test/watchCases/plugins/module-concatenation-plugin/0/bar/abc.js | import a from './a';
import b from './b';
import c from './c';
export default a + b + c;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/module-concatenation-plugin/0/bar/b.js | test/watchCases/plugins/module-concatenation-plugin/0/bar/b.js | export default 'is only';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/module-concatenation-plugin/0/bar/c.js | test/watchCases/plugins/module-concatenation-plugin/0/bar/c.js | export default ' a test';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/module-concatenation-plugin/0/bar/a.js | test/watchCases/plugins/module-concatenation-plugin/0/bar/a.js | export default 'This ';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/module-concatenation-plugin/0/foo/0.js | test/watchCases/plugins/module-concatenation-plugin/0/foo/0.js | module.exports = require('../bar/abc').default + '.0';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/profiling-plugin/deprecations.js | test/watchCases/plugins/profiling-plugin/deprecations.js | "use strict";
module.exports = [
{ code: /DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK/ }
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/profiling-plugin/webpack.config.js | test/watchCases/plugins/profiling-plugin/webpack.config.js | "use strict";
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
plugins: [new webpack.debug.ProfilingPlugin()]
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/profiling-plugin/1/index.js | test/watchCases/plugins/profiling-plugin/1/index.js | it("should not crash on recompile", function() {
expect(WATCH_STEP).toBe("1");
})
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/plugins/profiling-plugin/0/index.js | test/watchCases/plugins/profiling-plugin/0/index.js | it("compiles", function() {
expect(WATCH_STEP).toBe("0");
}) | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/resolve/in-loader/0/index.js | test/watchCases/resolve/in-loader/0/index.js | import value from "./loader!./loader";
it("should resolve to the correct file", () => {
expect(value).toBe(`${WATCH_STEP};`);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/resolve/in-loader/0/loader.js | test/watchCases/resolve/in-loader/0/loader.js | /** @type {import("../../../../../").LoaderDefinition} */
module.exports = function () {
const callback = this.async();
this.resolve(this.context, "./file", (err, file) => {
if (err) return callback(err);
if (!file) return callback(new Error("Resolving failed"));
this.fs.readFile(file, (err, result) => {
if ... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/resolve/in-loader/0/file.js | test/watchCases/resolve/in-loader/0/file.js | 0;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/snapshot/unable-to-snapshot/webpack.config.js | test/watchCases/snapshot/unable-to-snapshot/webpack.config.js | "use strict";
const path = require("path");
/** @type {(env: Env, options: TestOptions) => import("../../../../").Configuration} */
module.exports = (env, { srcPath }) => ({
cache: {
type: "memory"
},
snapshot: {
managedPaths: [path.resolve(srcPath, "node_modules")]
},
module: {
unsafeCache: false
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/snapshot/unable-to-snapshot/2/node_modules/package/changing-file.js | test/watchCases/snapshot/unable-to-snapshot/2/node_modules/package/changing-file.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/snapshot/unable-to-snapshot/1/node_modules/package/changing-file.js | test/watchCases/snapshot/unable-to-snapshot/1/node_modules/package/changing-file.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/snapshot/unable-to-snapshot/0/index.js | test/watchCases/snapshot/unable-to-snapshot/0/index.js | import value from "package";
it("should not crash", () => {
expect(value).toBe(42 + WATCH_STEP);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/snapshot/unable-to-snapshot/0/node_modules/package/changing-file.js | test/watchCases/snapshot/unable-to-snapshot/0/node_modules/package/changing-file.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/snapshot/unable-to-snapshot/0/node_modules/package/index.js | test/watchCases/snapshot/unable-to-snapshot/0/node_modules/package/index.js | import other from "./changing-file";
export default 42 + other;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/long-term-caching/issue-8766/webpack.config.js | test/watchCases/long-term-caching/issue-8766/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
mode: "production",
output: {
chunkFilename: "[contenthash].js"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/long-term-caching/issue-8766/1/index.js | test/watchCases/long-term-caching/issue-8766/1/index.js | import { bar } from "./shared";
it("should compile fine", () => {
expect(bar).toBe("bar");
const hash = STATS_JSON.assetsByChunkName.async[0];
expect(hash).toBe(STATE.hash);
});
it("should load the async chunk", () => {
return import(/* webpackChunkName: "async" */ "./other-chunk");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/long-term-caching/issue-8766/0/index.js | test/watchCases/long-term-caching/issue-8766/0/index.js | import { foo } from "./shared";
it("should compile fine", () => {
expect(foo).toBe("foo");
STATE.hash = STATS_JSON.assetsByChunkName.async[0];
});
it("should load the async chunk", () => {
return import(/* webpackChunkName: "async" */ "./other-chunk");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/long-term-caching/issue-8766/0/other-chunk.js | test/watchCases/long-term-caching/issue-8766/0/other-chunk.js | import { foo } from "./shared";
if (Math.random() < 0) console.log(foo);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/long-term-caching/issue-8766/0/shared.js | test/watchCases/long-term-caching/issue-8766/0/shared.js | export const foo = "foo";
export const bar = "bar";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/long-term-caching/issue-8766-with-cache/webpack.config.js | test/watchCases/long-term-caching/issue-8766-with-cache/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
mode: "production",
cache: true,
output: {
chunkFilename: "[contenthash].js"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/long-term-caching/issue-8766-with-cache/1/index.js | test/watchCases/long-term-caching/issue-8766-with-cache/1/index.js | import { bar } from "./shared";
it("should compile fine", () => {
expect(bar).toBe("bar");
const hash = STATS_JSON.assetsByChunkName.async[0];
expect(hash).toBe(STATE.hash);
});
it("should load the async chunk", () => {
return import(/* webpackChunkName: "async" */ "./other-chunk");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/long-term-caching/issue-8766-with-cache/0/index.js | test/watchCases/long-term-caching/issue-8766-with-cache/0/index.js | import { foo } from "./shared";
it("should compile fine", () => {
expect(foo).toBe("foo");
STATE.hash = STATS_JSON.assetsByChunkName.async[0];
});
it("should load the async chunk", () => {
return import(/* webpackChunkName: "async" */ "./other-chunk");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/long-term-caching/issue-8766-with-cache/0/other-chunk.js | test/watchCases/long-term-caching/issue-8766-with-cache/0/other-chunk.js | import { foo } from "./shared";
if (Math.random() < 0) console.log(foo);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/long-term-caching/issue-8766-with-cache/0/shared.js | test/watchCases/long-term-caching/issue-8766-with-cache/0/shared.js | export const foo = "foo";
export const bar = "bar";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/simple/multi-compiler/webpack.config.js | test/watchCases/simple/multi-compiler/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration[]} */
module.exports = [
{
name: "changing",
entry: "./index.js",
output: {
filename: "./bundle.js"
}
},
{
name: "static",
entry: "./static-file.js",
output: {
filename: "./static.js"
}
}
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/simple/multi-compiler/1/changing-file.js | test/watchCases/simple/multi-compiler/1/changing-file.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/simple/multi-compiler/0/static-file.js | test/watchCases/simple/multi-compiler/0/static-file.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/simple/multi-compiler/0/changing-file.js | test/watchCases/simple/multi-compiler/0/changing-file.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/simple/multi-compiler/0/index.js | test/watchCases/simple/multi-compiler/0/index.js | require("./changing-file")
it("should watch for changes", function() {
switch(WATCH_STEP) {
case "0":
expect(STATS_JSON.children).toHaveLength(2);
break;
case "1":
expect(STATS_JSON.children).toHaveLength(1);
break;
}
})
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/simple/production/webpack.config.js | test/watchCases/simple/production/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
mode: "production"
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/simple/production/2/changing-module.js | test/watchCases/simple/production/2/changing-module.js | export default "2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/simple/production/2/changing-file.js | test/watchCases/simple/production/2/changing-file.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/simple/production/1/changing-module.js | test/watchCases/simple/production/1/changing-module.js | export default "1";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/simple/production/1/changing-file.js | test/watchCases/simple/production/1/changing-file.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/simple/production/0/changing-module.js | test/watchCases/simple/production/0/changing-module.js | export default "0";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/simple/production/0/changing-file.js | test/watchCases/simple/production/0/changing-file.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/simple/production/0/index.js | test/watchCases/simple/production/0/index.js | import module from "./changing-module";
it("should watch for changes", function () {
expect(require("./changing-file")).toBe(WATCH_STEP);
expect(module).toBe(WATCH_STEP);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/simple/simple/2/changing-file.js | test/watchCases/simple/simple/2/changing-file.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/simple/simple/1/changing-file.js | test/watchCases/simple/simple/1/changing-file.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/simple/simple/0/changing-file.js | test/watchCases/simple/simple/0/changing-file.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/simple/simple/0/index.js | test/watchCases/simple/simple/0/index.js | it("should watch for changes", function() {
expect(require("./changing-file")).toBe(WATCH_STEP);
})
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/sharing/provide-unsafe-cache/webpack.config.js | test/watchCases/sharing/provide-unsafe-cache/webpack.config.js | "use strict";
const { ProvideSharedPlugin } = require("../../../../").sharing;
/** @type {import("../../../../").Configuration} */
module.exports = {
plugins: [
new ProvideSharedPlugin({
provides: ["package"]
})
]
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/sharing/provide-unsafe-cache/1/unrelated.js | test/watchCases/sharing/provide-unsafe-cache/1/unrelated.js | export default 2;
console.log.bind(console);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/sharing/provide-unsafe-cache/0/index.js | test/watchCases/sharing/provide-unsafe-cache/0/index.js | import "./unrelated";
it("should provide a module even when watching", () =>
import("package").then(async ({ default: value }) => {
await __webpack_init_sharing__("default");
expect(value).toBe("package");
const pkg = __webpack_share_scopes__.default.package["1.2.3"];
expect(pkg).toBeTypeOf("object");
}));
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/sharing/provide-unsafe-cache/0/unrelated.js | test/watchCases/sharing/provide-unsafe-cache/0/unrelated.js | export default 1;
console.log.bind(console);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/sharing/provide-unsafe-cache/0/node_modules/package/index.js | test/watchCases/sharing/provide-unsafe-cache/0/node_modules/package/index.js | export default "package";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/context/delete-in-context/2/directory/b.js | test/watchCases/context/delete-in-context/2/directory/b.js | // b
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/context/delete-in-context/1/directory/a.js | test/watchCases/context/delete-in-context/1/directory/a.js | // a
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/context/delete-in-context/0/index.js | test/watchCases/context/delete-in-context/0/index.js | it("should detect changes in a context", function() {
var context = require.context("./directory");
expect(context.keys().length).toBe((+WATCH_STEP) % 3 * 2);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/context/delete-in-context/3/directory/b.js | test/watchCases/context/delete-in-context/3/directory/b.js | DELETE
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/context/delete-in-context/3/directory/a.js | test/watchCases/context/delete-in-context/3/directory/a.js | DELETE
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/context/loader-context-dep/2/directory/b.js | test/watchCases/context/loader-context-dep/2/directory/b.js | // b
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/context/loader-context-dep/1/directory/a.js | test/watchCases/context/loader-context-dep/1/directory/a.js | // a
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.