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/configCases/rule-set/simple-use-array-fn/b.js
test/configCases/rule-set/simple-use-array-fn/b.js
module.exports = [require("./a")];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple-use-array-fn/loader.js
test/configCases/rule-set/simple-use-array-fn/loader.js
/** @type {import("../../../../").LoaderDefinition<{ get(): string }>} */ module.exports = function (source) { var query = this.query; if (typeof query === "object" && typeof query.get === "function") { query = query.get(); } return source + "\nmodule.exports.push(" + JSON.stringify(query) + ");"; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple-use-array-fn/webpack.config.js
test/configCases/rule-set/simple-use-array-fn/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { oneOf: [ { test: { and: [/a.\.js$/, /b\.js$/] }, loader: "./loader", options: "first" }, { test: [require.resolve("./a"), require.resolve("./c")], ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple-use-array-fn/c.js
test/configCases/rule-set/simple-use-array-fn/c.js
// never used
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple-use-array-fn/ab.js
test/configCases/rule-set/simple-use-array-fn/ab.js
module.exports = ["ab"];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple-use-array-fn/a.js
test/configCases/rule-set/simple-use-array-fn/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/configCases/rule-set/oneOf/css-loader.js
test/configCases/rule-set/oneOf/css-loader.js
/** @type {import("../../../../").LoaderDefinition<{ get(): string }>} */ module.exports = function (source) { return "module.exports='__css__'" }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/oneOf/index.js
test/configCases/rule-set/oneOf/index.js
it("should return the content processed by css-loader instead of asset/resource", function () { var a1 = require("./index.css"); expect(a1).toEqual("__css__"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/oneOf/style-loader.js
test/configCases/rule-set/oneOf/style-loader.js
/** @typedef {import("../../../../types").LoaderDefinition} LoaderDefinition */ /** @typedef {import("../../../../types").LoaderContext<{}>} LoaderContext */ /** * @type {LoaderDefinition} */ module.exports.pitch = function (request) { return ` var content = require(${stringifyRequest(this, `!!${request}`)}); ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/oneOf/webpack.config.js
test/configCases/rule-set/oneOf/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", output: { assetModuleFilename: "[name][ext]" }, module: { rules: [ { test: /\.css$/, oneOf: [ { use: ["./style-loader", "./css-loader"], issuer: /\.(js)$/ }, { t...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple/not-ab.js
test/configCases/rule-set/simple/not-ab.js
module.exports = ["not-ab"];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple/index.js
test/configCases/rule-set/simple/index.js
it("should match only one rule in a oneOf block", function () { var ab = require("./ab"); expect(ab).toEqual(["ab", "?first"]); }); it("should not match not condition (absolute)", function () { var ab = require("./not-ab"); expect(ab).toEqual(["not-ab"]); }); it("should not match not condition (not absolute)", fu...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple/deprecations.js
test/configCases/rule-set/simple/deprecations.js
"use strict"; module.exports = [ { code: /DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING/, message: /oneOf\[0\]/ }, { code: /DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING/, message: /oneOf\[1\]/ }, { code: /DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING/, message: /oneOf\[2\]/ } ];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple/b.js
test/configCases/rule-set/simple/b.js
module.exports = [require("./a")];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple/loader.js
test/configCases/rule-set/simple/loader.js
/** @type {import("../../../../").LoaderDefinition<{ get(): string }>} */ module.exports = function (source) { var query = this.query; if (typeof query === "object" && typeof query.get === "function") { query = query.get(); } return source + "\nmodule.exports.push(" + JSON.stringify(query) + ");"; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple/webpack.config.js
test/configCases/rule-set/simple/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { oneOf: [ { test: { and: [/a.\.js$/, /b\.js$/, { not: /not-/ }] }, resourceQuery: { not: /not/ }, loader: "./loader", options: "first" }, { test: ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple/c.js
test/configCases/rule-set/simple/c.js
// never used
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple/ab.js
test/configCases/rule-set/simple/ab.js
module.exports = ["ab"];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/simple/a.js
test/configCases/rule-set/simple/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/configCases/rule-set/resolve-options/wrong.js
test/configCases/rule-set/resolve-options/wrong.js
module.exports = "wrong";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/resolve-options/ok.ok.js
test/configCases/rule-set/resolve-options/ok.ok.js
module.exports = "ok-ok";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/resolve-options/index.js
test/configCases/rule-set/resolve-options/index.js
it("should allow to set custom resolving rules", function() { var a = require("./a"); expect(a).toBe("ok-normal-ok2"); var b = require("./b"); expect(b).toBe("ok-normal-ok2-yes"); var c = require("./c"); expect(c).toBe("wrong-normal-ok2"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/resolve-options/b.js
test/configCases/rule-set/resolve-options/b.js
module.exports = require("./wrong") + require("./normal") + require("./wrong2");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/resolve-options/ok2.yes.js
test/configCases/rule-set/resolve-options/ok2.yes.js
module.exports = "ok2-yes";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/resolve-options/wrong2.yes.js
test/configCases/rule-set/resolve-options/wrong2.yes.js
module.exports = "wrong2-yes";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/resolve-options/webpack.config.js
test/configCases/rule-set/resolve-options/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { resolve: { alias: { "./wrong2": "./ok2" } }, module: { rules: [ { test: require.resolve("./a"), resolve: { alias: { "./wrong": "./ok" }, extensions: [".js", ".ok.js"] } }, { te...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/resolve-options/c.js
test/configCases/rule-set/resolve-options/c.js
module.exports = require("./wrong") + require("./normal") + require("./wrong2");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/resolve-options/normal.js
test/configCases/rule-set/resolve-options/normal.js
module.exports = "-normal-";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/resolve-options/ok.js
test/configCases/rule-set/resolve-options/ok.js
module.exports = "ok";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/resolve-options/wrong2.js
test/configCases/rule-set/resolve-options/wrong2.js
module.exports = "wrong2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/resolve-options/a.js
test/configCases/rule-set/resolve-options/a.js
module.exports = require("./wrong") + require("./normal") + require("./wrong2");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/resolve-options/ok2.js
test/configCases/rule-set/resolve-options/ok2.js
module.exports = "ok2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/compiler/index.js
test/configCases/rule-set/compiler/index.js
it("should match rule with compiler name", function() { var a = require("./a"); expect(a).toBe("loader matched"); var b = require("./b"); expect(b).toBe("loader not matched"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/compiler/b.js
test/configCases/rule-set/compiler/b.js
module.exports = "loader not matched";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/compiler/loader.js
test/configCases/rule-set/compiler/loader.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function (source) { return "module.exports = " + JSON.stringify("loader matched"); };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/compiler/webpack.config.js
test/configCases/rule-set/compiler/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { name: "compiler-name", module: { rules: [ { test: /a\.js$/, compiler: "compiler", use: "./loader" }, { test: /b\.js$/, compiler: "other-compiler", use: "./loader" } ] } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/rule-set/compiler/a.js
test/configCases/rule-set/compiler/a.js
module.exports = "loader not matched";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/process-assets/update-info/index.js
test/configCases/process-assets/update-info/index.js
it("should update info", () => { const file = new URL("./file.svg", import.meta.url); expect(/file\.svg$/.test(file)).toBe(true); const { info } = __STATS__.assets.find(item => item.name === "images/file.svg"); expect(info.custom).toBe(true); expect(info.related).toEqual({"first": ["first"], "second": ["second"]})...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/process-assets/update-info/webpack.config.js
test/configCases/process-assets/update-info/webpack.config.js
"use strict"; /** @typedef {import("../../../../").AssetInfo} AssetInfo */ /** @type {import("../../../../").Configuration} */ module.exports = { output: { assetModuleFilename: "images/[name][ext]" }, plugins: [ { apply: (compiler) => { compiler.hooks.compilation.tap("TestPlugin", (compilation) => { ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/process-assets/additional-assets/index.js
test/configCases/process-assets/additional-assets/index.js
it("should `additionalAssets` work", () => { const { info } = __STATS__.assets.find(item => item.name === "file.txt"); expect(info.new).toBe(true); expect(info.additional).toBe(true); expect(info.additionalAgain).toBe(true); const { info: info1 } = __STATS__.assets.find(item => item.name === "file1.txt"); expect...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/process-assets/additional-assets/webpack.config.js
test/configCases/process-assets/additional-assets/webpack.config.js
"use strict"; const newName = "file.txt"; /** @type {import("../../../../").Configuration} */ module.exports = { output: { assetModuleFilename: "images/[name][ext]" }, plugins: [ { apply: (compiler) => { const PLUGIN_NAME = "TestPlugin"; compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/process-assets/html-plugin/index.js
test/configCases/process-assets/html-plugin/index.js
const crypto = require("crypto"); const fs = require("fs"); const path = require("path"); it("should result in the correct HTML", () => { const content = fs.readFileSync( path.resolve(__dirname, "index.html"), "utf-8" ); // check minimized expect(content).toMatch(/<\/script> <script/); // check inlined js i...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/process-assets/html-plugin/test.config.js
test/configCases/process-assets/html-plugin/test.config.js
"use strict"; module.exports = { findBundle() { return "./test.js"; } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/process-assets/html-plugin/inline.js
test/configCases/process-assets/html-plugin/inline.js
console.log("inline");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/process-assets/html-plugin/infrastructure-log.js
test/configCases/process-assets/html-plugin/infrastructure-log.js
"use strict"; module.exports = [ // each time returns different OriginalSource in webpack.config.js:108 // this prevents hit in inmemory cache /^Pack got invalid because of write to: RealContentHashPlugin|analyse|index\.html$/ ];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/process-assets/html-plugin/webpack.config.js
test/configCases/process-assets/html-plugin/webpack.config.js
"use strict"; const { sources: { RawSource, OriginalSource, ReplaceSource }, Compilation, util: { createHash }, optimize: { RealContentHashPlugin } } = require("../../../../"); /** @typedef {import("../../../../").Compiler} Compiler */ /** @typedef {import("../../../../").Asset} Asset */ /** @typedef {import("../...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/process-assets/html-plugin/normal.js
test/configCases/process-assets/html-plugin/normal.js
console.log("normal");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/non-unique-hash/index.js
test/configCases/deprecations/non-unique-hash/index.js
it("should compile fine", () => {});
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/non-unique-hash/deprecations.js
test/configCases/deprecations/non-unique-hash/deprecations.js
"use strict"; module.exports = [{ code: /DEP_WEBPACK_MODULE_HASH/ }];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/non-unique-hash/b.js
test/configCases/deprecations/non-unique-hash/b.js
import { b } from "./module"; console.log(b);
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/non-unique-hash/webpack.config.js
test/configCases/deprecations/non-unique-hash/webpack.config.js
"use strict"; /** @typedef {import("../../../../").Chunk} Chunk */ /** @type {import("../../../../").Configuration} */ module.exports = { entry: { bundle0: "./index", a: "./a", b: "./b" }, output: { filename: "[name].js" }, optimization: { usedExports: true, concatenateModules: false }, plugins: [ ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/non-unique-hash/module.js
test/configCases/deprecations/non-unique-hash/module.js
export const a = 1; export const b = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/non-unique-hash/a.js
test/configCases/deprecations/non-unique-hash/a.js
import { a } from "./module"; console.log(a);
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/invalid-dependencies/warnings.js
test/configCases/deprecations/invalid-dependencies/warnings.js
"use strict"; module.exports = [ [ { moduleName: /\.\/index\.js/ }, /Invalid dependencies have been reported/, /"\."/, /"\.\.\/\*\*\/dir\/\*\.js"/, { details: /"\.\/missing1\.js"/ }, { details: /"loader\.js"/ }, /and more/, { details: /"missing3\.js"/ } ] ];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/invalid-dependencies/index.js
test/configCases/deprecations/invalid-dependencies/index.js
it("should compile", () => {});
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/invalid-dependencies/loader.js
test/configCases/deprecations/invalid-dependencies/loader.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function (source) { this.addDependency("loader.js"); this.addDependency("../**/dir/*.js"); this.addDependency("../**/file.js"); this.addContextDependency("."); this.addMissingDependency("./missing1.js"); this.addMissingDependency("missing2.js...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/invalid-dependencies/webpack.config.js
test/configCases/deprecations/invalid-dependencies/webpack.config.js
"use strict"; const path = require("path"); const webpack = require("../../../../"); /** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { test: /index\.js$/, loader: "./loader.js" } ] }, plugins: [ (compiler) => { compiler.hooks.compilation.tap("Test", ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/chunk-files/index.js
test/configCases/deprecations/chunk-files/index.js
it("should compile with deprecations", () => {});
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/chunk-files/deprecations.js
test/configCases/deprecations/chunk-files/deprecations.js
"use strict"; module.exports = [ { code: /DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET/ }, { code: /DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET_INDEXER/ }, { code: /DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET_LENGTH/ }, { code: /DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET_PUSH/ } ];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/chunk-files/webpack.config.js
test/configCases/deprecations/chunk-files/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { plugins: [ (compiler) => { compiler.hooks.done.tap("Test", ({ compilation }) => { for (const c of compilation.chunks) { const chunk = /** @type {{ files: string[] } & import("../../../../").Chunk} */ ( c ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/config/index.js
test/configCases/deprecations/config/index.js
it("should compile with deprecations", () => {});
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/config/deprecations.js
test/configCases/deprecations/config/deprecations.js
"use strict"; module.exports = [ { code: /DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS/ } ];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/config/webpack.config.js
test/configCases/deprecations/config/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { optimization: { noEmitOnErrors: true } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/chunk-and-module/index.js
test/configCases/deprecations/chunk-and-module/index.js
import { testExport as importedTestExport } from "./index"; export const testExport = 42; it("should compile with deprecations", () => { expect(importedTestExport).toBe(42); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/chunk-and-module/deprecations.js
test/configCases/deprecations/chunk-and-module/deprecations.js
"use strict"; module.exports = [ { code: /DEP_WEBPACK_CHUNK_ADD_MODULE/ }, { code: /DEP_WEBPACK_CHUNK_CONTAINS_MODULE/ }, { code: /DEP_WEBPACK_CHUNK_ENTRY_MODULE/ }, { code: /DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS/ }, { code: /DEP_WEBPACK_CHUNK_GET_MODULES/ }, { code: /DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES/ }...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/deprecations/chunk-and-module/webpack.config.js
test/configCases/deprecations/chunk-and-module/webpack.config.js
"use strict"; const { ChunkGraph, ExternalModule } = require("../../../../"); /** @typedef {import("../../../../").Module} Module */ /** @type {import("../../../../").Configuration} */ module.exports = { plugins: [ (compiler) => { compiler.hooks.done.tap("Test", ({ compilation }) => { const { chunkGraph } ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/top-level-json-parser/index.js
test/configCases/json/top-level-json-parser/index.js
import toml from "./data.toml"; it("should transform toml to json", () => { expect(toml).toMatchObject({ title: "TOML Example", owner: { name: 'Tom Preston-Werner', organization: 'GitHub', bio: 'GitHub Cofounder & CEO\nLikes tater tots and beer.', dob: '1979-05-27T07:32:00.000Z' } }); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/top-level-json-parser/webpack.config.js
test/configCases/json/top-level-json-parser/webpack.config.js
"use strict"; const toml = require("toml"); /** @type {import("../../../../").Configuration[]} */ module.exports = [ { mode: "development", module: { parser: { json: { parse(input) { // eslint-disable-next-line prefer-rest-params expect(arguments).toHaveLength(1); return toml.parse(...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/proto/index.js
test/configCases/json/proto/index.js
import data from './data.json'; import data2 from 'data:application/json,{"__proto__":{}}'; import data3 from './data1.json'; import data4 from 'data:application/json,{"a":"__proto__"}'; it("should preserves `__proto__` properties", () => { expect(Object.getPrototypeOf(data) === Object.getPrototypeOf({})).toBe(true);...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/proto/webpack.config.js
test/configCases/json/proto/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { devtool: false, mode: "development" };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/flag-dep-export-perf/index.js
test/configCases/json/flag-dep-export-perf/index.js
export * from './data.json'; it("should compile and run", () => { expect(__webpack_exports_info__.depth_1.provideInfo).toBe(true) expect(__webpack_exports_info__._depth_1.provideInfo).toBe(true) expect(__webpack_exports_info__.__depth_1.provideInfo).toBe(true) expect(__webpack_exports_info__.depth_1.depth_2.provi...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/flag-dep-export-perf/webpack.config.js
test/configCases/json/flag-dep-export-perf/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development" };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/only-null/index.js
test/configCases/json/only-null/index.js
it("should work", () => { const data = require('./data.json'); expect(data).toBe(null); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/only-null/webpack.config.js
test/configCases/json/only-null/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/configCases/json/with-type-json/warnings.js
test/configCases/json/with-type-json/warnings.js
"use strict"; module.exports = [/Can't import the named export/];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/with-type-json/index.js
test/configCases/json/with-type-json/index.js
import def, { value } from './data.json' with { type: 'json' } it('should not import named json using import attributes', () => { expect(def.value).toBe(42); expect(value).toBe(undefined); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/with-type-json/webpack.config.js
test/configCases/json/with-type-json/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/configCases/json/generator-json-parse-true/index.js
test/configCases/json/generator-json-parse-true/index.js
it("should use JSON.parse", () => { const JSONParse = jest.spyOn(JSON, 'parse'); JSONParse.mockClear(); const data = require('./data.json'); const data2 = require('data:application/json,{"this is a large JSON object": "that should be converted to JSON.parse by default"}'); const data3 = require('./data1.json'); ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/generator-json-parse-true/webpack.config.js
test/configCases/json/generator-json-parse-true/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { devtool: false, mode: "development", module: { rules: [ { test: /\.json$/, resourceQuery: /JSONParse=false/, type: "json", generator: { JSONParse: false } } ], generator: { json: { JSONParse: true } } }...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/only-string/index.js
test/configCases/json/only-string/index.js
it("should work", () => { const data = require('./data.json'); expect(data).toBe("string"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/only-string/webpack.config.js
test/configCases/json/only-string/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/configCases/json/bailout-flag-dep-export-perf/index.js
test/configCases/json/bailout-flag-dep-export-perf/index.js
export * from './data.json'; it("should compile and run", () => { expect(__webpack_exports_info__.depth_1.provideInfo).toBe(true) expect(__webpack_exports_info__._depth_1.provideInfo).toBe(true) expect(__webpack_exports_info__.__depth_1.provideInfo).toBe(true) expect(__webpack_exports_info__.depth_1.depth_2.provi...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/bailout-flag-dep-export-perf/webpack.config.js
test/configCases/json/bailout-flag-dep-export-perf/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", module: { parser: { json: { exportsDepth: Infinity } } } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/tree-shaking-default/warnings.js
test/configCases/json/tree-shaking-default/warnings.js
"use strict"; module.exports = [[/Should not import the named export/]];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/tree-shaking-default/index.js
test/configCases/json/tree-shaking-default/index.js
import data, { nestedArray } from "./data"; import packageJson from "../../../../package.json"; it("should have to correct values", () => { expect(data.nested.key).toBe("value"); }); it("should be able to write properties", () => { // known key data.nested.key2 = "new value"; expect(data.nested.key2).toBe("new va...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/tree-shaking-default/webpack.config.js
test/configCases/json/tree-shaking-default/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "production", node: { __dirname: false, __filename: false } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/generator-json-parse-false/index.js
test/configCases/json/generator-json-parse-false/index.js
it("should avoid JSON.parse", () => { const JSONParse = jest.spyOn(JSON, 'parse'); JSONParse.mockClear(); const data = require('./data.json'); const data2 = require('data:application/json,{"this is a large JSON object": "that should be converted to JSON.parse by default"}'); const data3 = require('./data1.json');...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/generator-json-parse-false/webpack.config.js
test/configCases/json/generator-json-parse-false/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { devtool: false, mode: "development", module: { rules: [ { test: /\.json$/, resourceQuery: /JSONParse=true/, type: "json", generator: { JSONParse: true } } ], generator: { json: { JSONParse: false } } } ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/named-exports/index.js
test/configCases/json/named-exports/index.js
import { value } from './data.json'; it('should allow to use named export', () => { expect(value).toBe(42); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/json/named-exports/webpack.config.js
test/configCases/json/named-exports/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "production", module: { parser: { json: { namedExports: true } } } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/runtime/dynamic-with-deep-entries-esm/two.js
test/configCases/runtime/dynamic-with-deep-entries-esm/two.js
it("should compile", () => {});
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/runtime/dynamic-with-deep-entries-esm/one.js
test/configCases/runtime/dynamic-with-deep-entries-esm/one.js
it("should compile", () => {});
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/runtime/dynamic-with-deep-entries-esm/four.js
test/configCases/runtime/dynamic-with-deep-entries-esm/four.js
it("should compile", () => {});
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/runtime/dynamic-with-deep-entries-esm/test.config.js
test/configCases/runtime/dynamic-with-deep-entries-esm/test.config.js
"use strict"; module.exports = { findBundle() { return [ "./runtime/one.mjs", "./one.mjs", "./runtime/dir2/two.mjs", "./dir2/two.mjs", "./runtime/three.mjs", "./three.mjs", "./runtime/dir4/four.mjs", "./dir4/four.mjs", "./runtime/dir5/dir6/five.mjs", "./dir5/dir6/five.mjs", "./runti...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/runtime/dynamic-with-deep-entries-esm/three.js
test/configCases/runtime/dynamic-with-deep-entries-esm/three.js
it("should compile", () => {});
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/runtime/dynamic-with-deep-entries-esm/webpack.config.js
test/configCases/runtime/dynamic-with-deep-entries-esm/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { output: { filename: "[name].mjs", module: true }, target: ["es2022", "async-node"], entry: { one: "./one", "dir2/two": "./two", "/three": "./three", "/dir4/four": "./four", "/dir5/dir6/five": "./five", "/dir5/dir6/...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/runtime/dynamic-with-deep-entries-esm/five.js
test/configCases/runtime/dynamic-with-deep-entries-esm/five.js
it("should compile", () => {});
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/runtime/dynamic-with-deep-entries-esm/six.js
test/configCases/runtime/dynamic-with-deep-entries-esm/six.js
it("should compile", () => {});
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/runtime/no-runtime-per-entry/index.js
test/configCases/runtime/no-runtime-per-entry/index.js
it("should load without runtime", () => {});
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/runtime/no-runtime-per-entry/test.config.js
test/configCases/runtime/no-runtime-per-entry/test.config.js
"use strict"; module.exports = { findBundle() { return "./main.js"; } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false