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/loaders/generate-ident/b.js
test/configCases/loaders/generate-ident/b.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/generate-ident/d.js
test/configCases/loaders/generate-ident/d.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/generate-ident/webpack.config.js
test/configCases/loaders/generate-ident/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { test: /a\.js$/, use: [ "./loader1", { loader: "./loader2", options: { f() { return "ok"; } } } ] }, { test: /(b|c)\.js$/, use:...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/generate-ident/loader2.js
test/configCases/loaders/generate-ident/loader2.js
/** @type {import("../../../../").LoaderDefinition<{ f(): any }>} */ module.exports = function (source) { if (typeof this.query === "string") throw new Error("query must be an object"); return "module.exports = " + JSON.stringify(this.query.f()); };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/generate-ident/c.js
test/configCases/loaders/generate-ident/c.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/generate-ident/a.js
test/configCases/loaders/generate-ident/a.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/hash-in-context/index.js
test/configCases/loaders/hash-in-context/index.js
it("should have hmr flag in loader context", function() { expect(require("./loader!")).toMatchObject({ digest: "a0fdc3d2f3863f64d95950fc06af72f7", digestWithLength: "a0fdc3d2f3863f64d959", hashFunction: "md4", hashDigest: "hex", hashDigestLength: 20, hashSalt: "salt", }); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/hash-in-context/loader.js
test/configCases/loaders/hash-in-context/loader.js
/** @type {import("../../../../").LoaderDefinition}} */ module.exports = function () { const hashValue = this.utils.createHash(this.hashFunction); if (this.hashSalt) { hashValue.update(this.hashSalt); } hashValue.update("test"); const digest = hashValue.digest(this.hashDigest); return `module.exports = ${JSON....
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/hash-in-context/webpack.config.js
test/configCases/loaders/hash-in-context/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration[]} */ module.exports = { output: { hashSalt: "salt" } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-development/index.js
test/configCases/loaders/mode-development/index.js
it("provides mode to loaders when the option is 'development'", function() { expect(require("./a")).toBe("development"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-development/loader.js
test/configCases/loaders/mode-development/loader.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function (source) { return `module.exports = "${this.mode}";`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-development/webpack.config.js
test/configCases/loaders/mode-development/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", module: { rules: [ { test: /a\.js$/, use: "./loader" } ] } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-development/a.js
test/configCases/loaders/mode-development/a.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/import-attributes-and-assertion/loader-with.js
test/configCases/loaders/import-attributes-and-assertion/loader-with.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function (source) { return JSON.stringify({ type: "with" }); };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/import-attributes-and-assertion/index.js
test/configCases/loaders/import-attributes-and-assertion/index.js
import one from "./pkg-1.json" assert { type: "json" }; import two from "./pkg-2.json" with { type: "json" }; import three from "./pkg-3.json" assert { type: "json" }; import four from "./pkg-4.json" with { type: "json" }; it("import attributes and assertion should work", function() { expect(one.type).toEqual("assert...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/import-attributes-and-assertion/loader-assert.js
test/configCases/loaders/import-attributes-and-assertion/loader-assert.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function (source) { return JSON.stringify({ type: "assert" }); };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/import-attributes-and-assertion/webpack.config.js
test/configCases/loaders/import-attributes-and-assertion/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { assert: { type: "json" }, loader: require.resolve("./loader-assert.js") }, { with: { type: "json" }, loader: require.resolve("./loader-with.js") } ] } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/loader-1.js
test/configCases/loaders/options/loader-1.js
const schema = require("./loader-1.options.json"); /** @type {import("../../../../").LoaderDefinition} */ module.exports = function () { const options = this.getOptions(schema); const json = JSON.stringify(options) .replace(/\u2028/g, "\\u2028") .replace(/\u2029/g, "\\u2029"); return `module.exports = ${json}...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/index.js
test/configCases/loaders/options/index.js
it("should get options", function() { expect(require("./a")).toStrictEqual({ arg: true, arg1: null, arg3: 1234567890, arg4: "string", arg5: [1, 2, 3], arg6: { foo: "value", bar: { baz: "other-value" } } }); expect(require("./b")).toStrictEqual({ arg: true, arg1: null, arg3: 1234567890, arg4: "str...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/deprecations.js
test/configCases/loaders/options/deprecations.js
"use strict"; module.exports = [ { code: /DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING/ }, { code: /DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING/ }, { code: /DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING/ }, { code: /DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING/ }, { code: /DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING/ }, { code: /DEP_WEBPACK...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/loader-2.js
test/configCases/loaders/options/loader-2.js
const schema = require("./loader-2.options.json"); /** @type {import("../../../../").LoaderDefinition} */ module.exports = function () { const options = this.getOptions(schema); const json = JSON.stringify(options) .replace(/\u2028/g, "\\u2028") .replace(/\u2029/g, "\\u2029"); return `module.exports = ${json}...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/error2.js
test/configCases/loaders/options/error2.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/b.js
test/configCases/loaders/options/b.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/i.js
test/configCases/loaders/options/i.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/loader.js
test/configCases/loaders/options/loader.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function () { const options = this.getOptions(); const json = JSON.stringify(options) .replace(/\u2028/g, "\\u2028") .replace(/\u2029/g, "\\u2029"); return `module.exports = ${json}`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/h.js
test/configCases/loaders/options/h.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/g.js
test/configCases/loaders/options/g.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/d.js
test/configCases/loaders/options/d.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/f.js
test/configCases/loaders/options/f.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/error1.js
test/configCases/loaders/options/error1.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/e.js
test/configCases/loaders/options/e.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/infrastructure-log.js
test/configCases/loaders/options/infrastructure-log.js
"use strict"; module.exports = [ // We use (1|2), because both contain the problems, but due asynchronous nature the first module can be `error1` or `error2` /^Pack got invalid because of write to: Compilation\/modules.+loaders[/\\]options[/\\]error(1|2)\.js$/ ];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/webpack.config.js
test/configCases/loaders/options/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "none", module: { rules: [ { test: /a\.js$/, loader: "./loader", options: { arg: true, arg1: null, arg2: undefined, arg3: 1234567890, arg4: "string", arg5: [1, 2, 3], arg6: {...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/c.js
test/configCases/loaders/options/c.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/errors.js
test/configCases/loaders/options/errors.js
"use strict"; module.exports = [ [ /\.\/loader-1\.js/, /Loader has been/, /options\.arg6\.bar\.baz should be a string/ ], [ /\.\/loader-2\.js/, /Custom Loader Name has been/, /configuration\.arg should be true/ ] ];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/options/a.js
test/configCases/loaders/options/a.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/import-attributes-and-reexport/index.js
test/configCases/loaders/import-attributes-and-reexport/index.js
import { b } from "./a.js"; function foo() { return "a" + b(); } it("should not duplicate modules", function() { expect(foo()).toEqual("ab"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/import-attributes-and-reexport/b.js
test/configCases/loaders/import-attributes-and-reexport/b.js
import { c } from "./c.js"; export function b() { return "b" + c(); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/import-attributes-and-reexport/test-loader.js
test/configCases/loaders/import-attributes-and-reexport/test-loader.js
module.exports = function loader() { return "export function b() { return 'b'; }"; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/import-attributes-and-reexport/webpack.config.js
test/configCases/loaders/import-attributes-and-reexport/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { with: { type: "RANDOM" }, use: require.resolve("./test-loader") } ] } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/import-attributes-and-reexport/c.js
test/configCases/loaders/import-attributes-and-reexport/c.js
export function c() { return "c"; }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/import-attributes-and-reexport/a.js
test/configCases/loaders/import-attributes-and-reexport/a.js
export {b} from "./b" with {type: "RANDOM"}
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/hot-in-context/index.js
test/configCases/loaders/hot-in-context/index.js
it("should have hmr flag in loader context", function() { expect(require("./loader!")).toBe(!!module.hot); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/hot-in-context/loader.js
test/configCases/loaders/hot-in-context/loader.js
/** @type {import("../../../../").LoaderDefinition}} */ module.exports = function () { return `module.exports = ${JSON.stringify(!!this.hot)};`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/hot-in-context/webpack.config.js
test/configCases/loaders/hot-in-context/webpack.config.js
"use strict"; const webpack = require("../../../../"); /** @type {import("../../../../").Configuration[]} */ module.exports = [ { // no hmr }, { // with hmr plugins: [new webpack.HotModuleReplacementPlugin()] } ];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-none/index.js
test/configCases/loaders/mode-none/index.js
it("provides mode to loaders when the option is 'none'", function() { expect(require("./a")).toBe("none"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-none/loader.js
test/configCases/loaders/mode-none/loader.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function (source) { return `module.exports = "${this.mode}";`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-none/webpack.config.js
test/configCases/loaders/mode-none/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "none", module: { rules: [ { test: /a\.js$/, use: "./loader" } ] } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-none/a.js
test/configCases/loaders/mode-none/a.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-default/index.js
test/configCases/loaders/mode-default/index.js
it("provides mode to loaders when the option is omitted", function() { expect(require("./a")).toBe("production"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-default/loader.js
test/configCases/loaders/mode-default/loader.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function (source) { return `module.exports = "${this.mode}";`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-default/webpack.config.js
test/configCases/loaders/mode-default/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { test: /a\.js$/, use: "./loader" } ] } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-default/a.js
test/configCases/loaders/mode-default/a.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-9053/index.js
test/configCases/loaders/issue-9053/index.js
it("should apply inline loaders before matchResource", function() { var foo = require("c.js!=!loader1!./b.js"); expect(foo).toEqual(["b", "1", "2"]); }); it("should apply config loaders before inline loaders", function() { var foo = require("loader1!./c.js"); expect(foo).toEqual(["c", "2", "1"]); }); it("should...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-9053/b.js
test/configCases/loaders/issue-9053/b.js
module.exports = ["b"];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-9053/webpack.config.js
test/configCases/loaders/issue-9053/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { test: /c\.js$/, use: ["loader2"] }, { test: /d\.js$/, use: ["loader3"] } ] } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-9053/c.js
test/configCases/loaders/issue-9053/c.js
module.exports = ["c"];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-9053/node_modules/loader1.js
test/configCases/loaders/issue-9053/node_modules/loader1.js
module.exports = function(source) { return source + '\nmodule.exports.push("1");'; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-9053/node_modules/loader3.js
test/configCases/loaders/issue-9053/node_modules/loader3.js
module.exports = function(source) { return source + '\nmodule.exports.push("3");'; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-9053/node_modules/loader2.js
test/configCases/loaders/issue-9053/node_modules/loader2.js
module.exports = function(source) { return source + '\nmodule.exports.push("2");'; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/remaining-request/loader1.js
test/configCases/loaders/remaining-request/loader1.js
/** @type {import("../../../../").PitchLoaderDefinitionFunction} */ module.exports.pitch = function (remainingRequest) { return ( "module.exports = require(" + JSON.stringify("!!" + remainingRequest) + ");" ); };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/remaining-request/index.js
test/configCases/loaders/remaining-request/index.js
it("should correctly pass complex query object with remaining request (with custom ident)", function() { expect(require("./a")).toBe("ok"); }); it("should correctly pass complex query object with remaining request (with default ident)", function() { expect(require("./b")).toBe("ok"); }); it("should correctly pass c...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/remaining-request/b.js
test/configCases/loaders/remaining-request/b.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/remaining-request/webpack.config.js
test/configCases/loaders/remaining-request/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { test: /a\.js$/, use: [ "./loader1", { loader: "./loader2", ident: "loader2", options: { f() { return "ok"; } } } ] }, { test...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/remaining-request/loader2.js
test/configCases/loaders/remaining-request/loader2.js
/** @type {import("../../../../").LoaderDefinition<{ f(): any }>} */ module.exports = function (source) { if (typeof this.query === "string") throw new Error("query must be an object"); return "module.exports = " + JSON.stringify(this.query.f()); };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/remaining-request/c.js
test/configCases/loaders/remaining-request/c.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/remaining-request/a.js
test/configCases/loaders/remaining-request/a.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-production/index.js
test/configCases/loaders/mode-production/index.js
it("provides mode to loaders when the option is 'production'", function() { expect(require("./a")).toBe("production"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-production/loader.js
test/configCases/loaders/mode-production/loader.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function (source) { return `module.exports = "${this.mode}";`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-production/webpack.config.js
test/configCases/loaders/mode-production/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "production", module: { rules: [ { test: /a\.js$/, use: "./loader" } ] } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/mode-production/a.js
test/configCases/loaders/mode-production/a.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/resolve/index.js
test/configCases/loaders/resolve/index.js
it("resolve should work in loader context", function() { expect(require("./a")).toBe("b.js"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/resolve/b.js
test/configCases/loaders/resolve/b.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/resolve/loader.js
test/configCases/loaders/resolve/loader.js
const path = require("path"); /** @type {import("../../../../").LoaderDefinition} */ module.exports = function () { const callback = this.async(); this.resolve(this.context, "./b.js", (err, result) => { callback(err, `module.exports = ${JSON.stringify(path.basename(/** @type {string} */ (result)))};`) }); };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/resolve/webpack.config.js
test/configCases/loaders/resolve/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "none", module: { rules: [ { test: /a\.js$/, use: "./loader" } ] } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/resolve/a.js
test/configCases/loaders/resolve/a.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/pre-post-loader/loader1.js
test/configCases/loaders/pre-post-loader/loader1.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function (source) { return source + 'module.exports += " loader1";\n'; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/pre-post-loader/index.js
test/configCases/loaders/pre-post-loader/index.js
it("should apply pre and post loaders correctly", function() { expect(require("./a")).toBe("resource loader2 loader1 loader3"); expect(require("!./a")).toBe("resource loader2 loader3"); expect(require("!!./a")).toBe("resource"); expect(require("-!./a")).toBe("resource loader3"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/pre-post-loader/loader3.js
test/configCases/loaders/pre-post-loader/loader3.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function (source) { return source + 'module.exports += " loader3";\n'; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/pre-post-loader/webpack.config.js
test/configCases/loaders/pre-post-loader/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { test: /a\.js$/, use: "./loader1" }, { test: /a\.js$/, use: "./loader2", enforce: "pre" }, { test: /a\.js$/, use: "./loader3", enforce: "post" } ] } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/pre-post-loader/loader2.js
test/configCases/loaders/pre-post-loader/loader2.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function (source) { return source + 'module.exports += " loader2";\n'; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/pre-post-loader/a.js
test/configCases/loaders/pre-post-loader/a.js
module.exports = "resource";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-3320/index.js
test/configCases/loaders/issue-3320/index.js
it("should resolve aliased loader module with query", function() { var foo = require('./a'); expect(foo).toBe("someMessage"); }); it("should favor explicit loader query over aliased query (options in rule)", function() { var foo = require('./b'); expect(foo).toBe("someOtherMessage"); }); it("should favor explic...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-3320/deprecations.js
test/configCases/loaders/issue-3320/deprecations.js
"use strict"; module.exports = [ { code: /DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING/, message: /Using a string as loader options is deprecated \(ruleSet\[1\]\.rules\[2\]\.options\)/ }, { code: /DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING/, message: /Using a string as loader options is deprecated \(ruleSet\[1\...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-3320/b.js
test/configCases/loaders/issue-3320/b.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-3320/b2.js
test/configCases/loaders/issue-3320/b2.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-3320/b3.js
test/configCases/loaders/issue-3320/b3.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-3320/webpack.config.js
test/configCases/loaders/issue-3320/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { resolveLoader: { alias: { "some-loader": "any-loader?foo=someMessage" } }, module: { rules: [ { test: /a\.js$/, use: [ { loader: "some-loader" } ] }, { test: /b\.js$/, use: [ ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-3320/a.js
test/configCases/loaders/issue-3320/a.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/issue-3320/node_modules/any-loader.js
test/configCases/loaders/issue-3320/node_modules/any-loader.js
var loaderUtils = require('loader-utils'); module.exports = function(source) { var loaderContext = this; var options = loaderUtils.getOptions(loaderContext); return "module.exports=" + JSON.stringify(options.foo); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/pr-14384/PluginWithLoader.js
test/configCases/loaders/pr-14384/PluginWithLoader.js
const { NormalModule } = require("webpack"); const PLUGIN_NAME = "PluginWithLoader"; const loaderPath = require.resolve("./loader.js"); /** @typedef {import("../../../../").Compiler} Compiler */ class PluginWithLoader { /** * @param {Compiler} compiler compiler */ apply(compiler) { compiler.hooks.compilation...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/pr-14384/index.js
test/configCases/loaders/pr-14384/index.js
it("successfully loads a file that gets its only loader from a plugins beforeLoaders hook", function() { expect(require("./a")).toBe("success"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/pr-14384/loader.js
test/configCases/loaders/pr-14384/loader.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function () { return `module.exports = "success";`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/pr-14384/webpack.config.js
test/configCases/loaders/pr-14384/webpack.config.js
"use strict"; const PluginWithLoader = require("./PluginWithLoader"); /** @type {import("../../../../").Configuration} */ module.exports = { plugins: [new PluginWithLoader()] };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/pr-14384/a.js
test/configCases/loaders/pr-14384/a.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/async-loader/loader-1.js
test/configCases/loaders/async-loader/loader-1.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = async function () { return `module.exports = 'a';`; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/async-loader/index.js
test/configCases/loaders/async-loader/index.js
it("should work when loader is async", function() { expect(require("./a")).toBe("a"); }); it("should work when loader is async #2", function() { expect(require("./b")).toBe("b"); }); it("should work when loader is async #3", function() { expect(require("./c")).toBe("c"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/async-loader/loader-3.js
test/configCases/loaders/async-loader/loader-3.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function () { const callback = this.async(); callback(null, `module.exports = 'c';`); };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/async-loader/loader-2.js
test/configCases/loaders/async-loader/loader-2.js
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function () { return Promise.resolve(`module.exports = 'b';`); };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/loaders/async-loader/b.js
test/configCases/loaders/async-loader/b.js
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false