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/chunk-index/issue-18008/B-2.js | test/configCases/chunk-index/issue-18008/B-2.js | export default import(/* webpackChunkName: 'shared' */ './shared')
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/chunk-index/issue-18008/webpack.config.js | test/configCases/chunk-index/issue-18008/webpack.config.js | "use strict";
/** @typedef {import("../../../../types").Compilation} Compilation */
/** @typedef {import("../../../../types").Module} Module */
/** @type {import("../../../../types").Configuration} */
module.exports = {
entry: {
main: "./main.js"
},
output: {
filename: "[name].js"
},
optimization: {
splitCh... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/chunk-index/issue-18008/shared.js | test/configCases/chunk-index/issue-18008/shared.js | import './m.css'
import './n.css'
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/chunk-index/order-multiple-entries/entry1.js | test/configCases/chunk-index/order-multiple-entries/entry1.js | import "./a";
it("should compile", () => import(/* webpackChunkName: "async" */ "./async"));
import "./b";
import "./c";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/chunk-index/order-multiple-entries/b.js | test/configCases/chunk-index/order-multiple-entries/b.js | import "./shared"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/chunk-index/order-multiple-entries/test.config.js | test/configCases/chunk-index/order-multiple-entries/test.config.js | "use strict";
module.exports = {
findBundle() {
return ["entry1.js", "entry2.js"];
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/chunk-index/order-multiple-entries/async.js | test/configCases/chunk-index/order-multiple-entries/async.js | console.log.bind(console);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/chunk-index/order-multiple-entries/webpack.config.js | test/configCases/chunk-index/order-multiple-entries/webpack.config.js | "use strict";
/** @typedef {import("../../../../").Compilation} Compilation */
/** @typedef {import("../../../../").Module} Module */
/** @type {import("../../../../").Configuration} */
module.exports = {
entry: {
entry1: "./entry1",
entry2: "./entry2"
},
output: {
filename: "[name].js"
},
optimization: {
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/chunk-index/order-multiple-entries/c.js | test/configCases/chunk-index/order-multiple-entries/c.js | console.log.bind(console);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/chunk-index/order-multiple-entries/entry2.js | test/configCases/chunk-index/order-multiple-entries/entry2.js | import "./c";
it("should compile", () => import(/* webpackChunkName: "async" */ "./async"));
import "./b";
import "./a";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/chunk-index/order-multiple-entries/shared.js | test/configCases/chunk-index/order-multiple-entries/shared.js | console.log.bind(console);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/chunk-index/order-multiple-entries/a.js | test/configCases/chunk-index/order-multiple-entries/a.js | import "./shared"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-14974/test.filter.js | test/configCases/issues/issue-14974/test.filter.js | "use strict";
module.exports = () => process.version.slice(0, 4) !== "v10.";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-14974/index.js | test/configCases/issues/issue-14974/index.js | import "./tla.js"
const a = import("./defer.js")
import.meta.webpackHot.accept(["./defer.js"], () => {})
it("should compile", async () => {
expect(await a).toBeTruthy();
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-14974/tla.js | test/configCases/issues/issue-14974/tla.js | await Promise.resolve();
export default function log() {
return 1;
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-14974/defer.js | test/configCases/issues/issue-14974/defer.js | import log from "./tla.js"
log();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-14974/webpack.config.js | test/configCases/issues/issue-14974/webpack.config.js | "use strict";
const { HotModuleReplacementPlugin } = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
devtool: false,
optimization: { usedExports: false, sideEffects: false },
plugins: [new HotModuleReplacementPlugin()]
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-11871-imports-order/index.js | test/configCases/issues/issue-11871-imports-order/index.js | import * as values from "./a.js";
it("imports should have correct order", () => {
expect(Object.keys(values)).toEqual(["A", "W", "_12", "a"])
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-11871-imports-order/webpack.config.js | test/configCases/issues/issue-11871-imports-order/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration[]} */
module.exports = [
{
mode: "development"
},
{
mode: "production"
},
{
mode: "production",
optimization: {
concatenateModules: false
}
},
{
mode: "development",
optimization: {
concatenateModules: true
}
}
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-11871-imports-order/a.js | test/configCases/issues/issue-11871-imports-order/a.js | export const W = "w";
export const A = "a";
export const a = "a";
export const _12 = "12";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-17459/index.js | test/configCases/issues/issue-17459/index.js | import bar_string from './bar';
let other;
function foo(value) {
other = value;
}
var my_class = class {
constructor() {
this.bar = bar_string;
foo(bar_string);
}
}, my_instance = (new my_class())
it("should mangle imports in class constructors", function() {
expect(bar_string).toBe("bar");
expect(my_ins... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-17459/bar.js | test/configCases/issues/issue-17459/bar.js | export default "bar";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-17459/webpack.config.js | test/configCases/issues/issue-17459/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/issues/issue-7470/index.js | test/configCases/issues/issue-7470/index.js | it("should set NODE_ENV according to mode", () => {
if (__MODE__ === "none") {
expect(process.env.NODE_ENV).toBe("test");
} else {
expect(process.env.NODE_ENV).toBe(__MODE__);
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-7470/webpack.config.js | test/configCases/issues/issue-7470/webpack.config.js | "use strict";
const DefinePlugin = require("../../../../").DefinePlugin;
/** @type {import("../../../../").Configuration[]} */
module.exports = [
{
name: "development",
mode: "development",
plugins: [new DefinePlugin({ __MODE__: '"development"' })]
},
{
name: "production",
mode: "production",
plugins: ... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-12924/index.js | test/configCases/issues/issue-12924/index.js | it("should compile without error", function() {
return import(/* webpackChunkName: "one" */ "./one");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-12924/one.js | test/configCases/issues/issue-12924/one.js | module.exports = 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-12924/webpack.config.js | test/configCases/issues/issue-12924/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration[]} */
module.exports = [
{
output: {
globalObject: "null || new Function('return this')()"
}
},
{
output: {
globalObject: "(new Function('return this'))()"
}
},
{
output: {
globalObject: "1 > 2 ? null : new Function('return this')()"... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-12993/dynamic.js | test/configCases/issues/issue-12993/dynamic.js | export default "dynamic";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-12993/index.js | test/configCases/issues/issue-12993/index.js | export const main = "main";
it("library output should be accurate value", async () => {
expect(global.lib).toEqual(nsObj({ main: "main" }));
await import(/* webpackPrefetch: true */ "./dynamic.js");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-12993/test.config.js | test/configCases/issues/issue-12993/test.config.js | "use strict";
module.exports = {
afterExecute() {
delete global.lib;
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-12993/webpack.config.js | test/configCases/issues/issue-12993/webpack.config.js | "use strict";
module.exports = [
{
mode: "development",
output: {
library: "lib",
libraryTarget: "global"
}
},
{
mode: "development",
devtool: false,
output: {
library: "lib",
libraryTarget: "global"
}
}
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-3596/index.js | test/configCases/issues/issue-3596/index.js | it("should compile correctly", function() {});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-3596/b.js | test/configCases/issues/issue-3596/b.js | it("should not be executed", function() {
throw new Error("should not be executed");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-3596/webpack.config.js | test/configCases/issues/issue-3596/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
entry: {
bundle0: "./index",
b: "./b"
},
output: {
filename: "[name].js"
},
plugins: [
function apply() {
this.hooks.compilation.tap("TestPlugin", (compilation) => {
compilation.hooks.processAssets.tap("TestPlugin"... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-7563/index.js | test/configCases/issues/issue-7563/index.js | it("should compile without error", function() {
return import(/* webpackChunkName: "one" */ "./one");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-7563/one.js | test/configCases/issues/issue-7563/one.js | module.exports = 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-7563/test.config.js | test/configCases/issues/issue-7563/test.config.js | "use strict";
const fs = require("fs");
module.exports = {
noTests: true,
findBundle(i, options) {
const regex = new RegExp(`^bundle.${options.name}`, "i");
const files = fs.readdirSync(options.output.path);
const bundle = files.find((file) => regex.test(file));
if (!bundle) {
throw new Error(
`No f... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/issues/issue-7563/webpack.config.js | test/configCases/issues/issue-7563/webpack.config.js | "use strict";
// [fullhash] and [chunkhash] must be used separately
const testAllButHash = "[chunkhash].[chunkhash:16].[name].[id].[query]";
const testHash = "[fullhash].[fullhash:16]";
/** @type {import("../../../../").Configuration[]} */
module.exports = [
{
name: "webworker-all",
target: "webworker",
output... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/e2.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/e2.js | export * from "./ee2";
console.log.bind(console); // side effect to avoid removing module
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/hb.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/hb.js | export const B = "B"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/_e.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/_e.js | import "./e1";
import "./e2";
import "./e"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/h1.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/h1.js | export { A } from "./ha.js";
export { B } from "./hb.js";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/_d.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/_d.js | import "./d"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/ha.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/ha.js | export const A = "A"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/b.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/b.js | module.exports = function() {
return import("./c");
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/g-loader.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/g-loader.js | /** @type {import("../../../../").LoaderDefinition} */
module.exports = function (source) {
return source;
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/test.config.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/test.config.js | "use strict";
module.exports.noTests = true;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/h.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/h.js | export { B } from "./h1.js";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/d.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/d.js | export default "d";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/e.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/e.js | export * from "./e1";
export * from "./ee2";
console.log.bind(console); // side effect to avoid removing module
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/e1.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/e1.js | export * from "./ee1";
console.log.bind(console); // side effect to avoid removing module
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/webpack.config.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/webpack.config.js | "use strict";
const path = require("path");
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
entry: ["./a", "./b", "./_d", "./_e", "./f", "./g.abc", "./h"],
resolve: {
extensions: [".js", ".jsx"]
},
output: {
filename: "dll.js",
chunkFilename: "... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/f.jsx | test/configCases/dll-plugin/0-create-dll-with-contenthash/f.jsx | module.exports = 'f'; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/g.abc.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/g.abc.js | module.exports = typeof module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/c.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/c.js | export default "c"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/ee1.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/ee1.js | export var x1 = 123;
export var y1 = 456; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll-with-contenthash/a.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/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/dll-plugin/0-create-dll-with-contenthash/ee2.js | test/configCases/dll-plugin/0-create-dll-with-contenthash/ee2.js | export var x2 = 123;
export var y2 = 456; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/2-use-dll-without-scope/index.js | test/configCases/dll-plugin/2-use-dll-without-scope/index.js | import d from "../0-create-dll/d";
import { x1, y2 } from "./e";
import { x2, y1 } from "../0-create-dll/e";
import { B } from "../0-create-dll/h";
import { A } from "../0-create-dll/h1";
it("should load a module from dll", function () {
expect(require("../0-create-dll/a")).toBe("a");
});
it("should load a module of... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/2-use-dll-without-scope/e.js | test/configCases/dll-plugin/2-use-dll-without-scope/e.js | export * from "../0-create-dll/e1";
export * from "../0-create-dll/e2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/2-use-dll-without-scope/webpack.config.js | test/configCases/dll-plugin/2-use-dll-without-scope/webpack.config.js | "use strict";
const path = require("path");
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
rules: [
{
oneOf: [
{
test: /\.abc\.js$/,
loader: "../0-create-dll/g-loader.js",
options: {
test: 1
}
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/e2.js | test/configCases/dll-plugin/0-create-dll/e2.js | export * from "./ee2";
console.log.bind(console); // side effect to avoid removing module
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/hb.js | test/configCases/dll-plugin/0-create-dll/hb.js | export const B = "B"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/_e.js | test/configCases/dll-plugin/0-create-dll/_e.js | import "./e1";
import "./e2";
import "./e"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/h1.js | test/configCases/dll-plugin/0-create-dll/h1.js | export { A } from "./ha.js";
export { B } from "./hb.js";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/_d.js | test/configCases/dll-plugin/0-create-dll/_d.js | import "./d"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/ha.js | test/configCases/dll-plugin/0-create-dll/ha.js | export const A = "A"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/b.js | test/configCases/dll-plugin/0-create-dll/b.js | module.exports = function() {
return import("./c");
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/g-loader.js | test/configCases/dll-plugin/0-create-dll/g-loader.js | /** @type {import("../../../../").LoaderDefinition} */
module.exports = function (source) {
return source;
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/test.config.js | test/configCases/dll-plugin/0-create-dll/test.config.js | "use strict";
module.exports.noTests = true;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/h.js | test/configCases/dll-plugin/0-create-dll/h.js | export { B } from "./h1.js";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/d.js | test/configCases/dll-plugin/0-create-dll/d.js | export default "d";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/e.js | test/configCases/dll-plugin/0-create-dll/e.js | export * from "./e1";
export * from "./ee2";
console.log.bind(console); // side effect to avoid removing module
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/e1.js | test/configCases/dll-plugin/0-create-dll/e1.js | export * from "./ee1";
console.log.bind(console); // side effect to avoid removing module
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/webpack.config.js | test/configCases/dll-plugin/0-create-dll/webpack.config.js | "use strict";
const path = require("path");
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
entry: ["./a", "./b", "./_d", "./_e", "./f", "./g.abc", "./h"],
resolve: {
extensions: [".js", ".jsx"]
},
output: {
filename: "dll.js",
chunkFilename: "... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/f.jsx | test/configCases/dll-plugin/0-create-dll/f.jsx | module.exports = 'f'; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/g.abc.js | test/configCases/dll-plugin/0-create-dll/g.abc.js | module.exports = typeof module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/c.js | test/configCases/dll-plugin/0-create-dll/c.js | export default "c"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/ee1.js | test/configCases/dll-plugin/0-create-dll/ee1.js | export var x1 = 123;
export var y1 = 456; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-create-dll/a.js | test/configCases/dll-plugin/0-create-dll/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/dll-plugin/0-create-dll/ee2.js | test/configCases/dll-plugin/0-create-dll/ee2.js | export var x2 = 123;
export var y2 = 456; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/3-use-dll-with-hashid/warnings.js | test/configCases/dll-plugin/3-use-dll-with-hashid/warnings.js | "use strict";
module.exports = [[/hashed/, /deprecated/]];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/3-use-dll-with-hashid/index.js | test/configCases/dll-plugin/3-use-dll-with-hashid/index.js | import d from "../0-create-dll/d";
import { x1, y2 } from "./e";
import { x2, y1 } from "../0-create-dll/e";
it("should load a module from dll", function() {
expect(require("../0-create-dll/a")).toBe("a");
});
it("should load an async module from dll", function(done) {
require("../0-create-dll/b")().then(function(c... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/3-use-dll-with-hashid/e.js | test/configCases/dll-plugin/3-use-dll-with-hashid/e.js | export * from "../0-create-dll/e1";
export * from "../0-create-dll/e2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/3-use-dll-with-hashid/e1.js | test/configCases/dll-plugin/3-use-dll-with-hashid/e1.js | export * from "dll/e1";
export * from "dll/e2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/3-use-dll-with-hashid/webpack.config.js | test/configCases/dll-plugin/3-use-dll-with-hashid/webpack.config.js | "use strict";
const path = require("path");
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
rules: [
{
oneOf: [
{
test: /\.abc\.js$/,
loader: "../0-create-dll/g-loader.js",
options: {
test: 1
}
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-issue-10475/index.js | test/configCases/dll-plugin/0-issue-10475/index.js | import { constants } from "test-package";
var x = constants;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-issue-10475/test.config.js | test/configCases/dll-plugin/0-issue-10475/test.config.js | "use strict";
module.exports.noTests = true;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-issue-10475/webpack.config.js | test/configCases/dll-plugin/0-issue-10475/webpack.config.js | "use strict";
const path = require("path");
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
entry: ["./index.js"],
output: {
filename: "dll.js",
chunkFilename: "[id].dll.js",
libraryTarget: "commonjs2"
},
plugins: [
new webpack.DllPlugin({
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-issue-10475/node_modules/test-package/index.js | test/configCases/dll-plugin/0-issue-10475/node_modules/test-package/index.js | import * as _constants from './constants';
export var constants = _constants;
export { default as someFunction } from './someFunction';
if(Math.random() < 0) console.log(constants);
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-issue-10475/node_modules/test-package/someFunction.js | test/configCases/dll-plugin/0-issue-10475/node_modules/test-package/someFunction.js | export default function someFunction() {
console.log('This is some function');
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-issue-10475/node_modules/test-package/constants.js | test/configCases/dll-plugin/0-issue-10475/node_modules/test-package/constants.js | export const constant1 = 'constant1';
export const constant2 = 'constant2';
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/0-issue-10475/node_modules/test-package/working-constants.js | test/configCases/dll-plugin/0-issue-10475/node_modules/test-package/working-constants.js | export const constant1 = 'constant1';
export const constant2 = 'constant2';
export default {
constant1,
constant2,
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/1-use-dll/index.js | test/configCases/dll-plugin/1-use-dll/index.js | import d from "dll/d";
import { x1, y2 } from "./e";
import { x2, y1 } from "dll/e";
import { B } from "dll/h";
it("should load a module from dll", function() {
expect(require("dll/a")).toBe("a");
});
it("should load a module of non-default type without extension from dll", function() {
expect(require("dll/f")).toB... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/1-use-dll/e.js | test/configCases/dll-plugin/1-use-dll/e.js | export * from "dll/e1";
export * from "dll/e2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/1-use-dll/webpack.config.js | test/configCases/dll-plugin/1-use-dll/webpack.config.js | "use strict";
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
optimization: {
moduleIds: "named"
},
plugins: [
new webpack.DllReferencePlugin({
manifest: require("../../../js/config/dll-plugin/manifest0.json"),
name: "../0-create-dll/dll.js"... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/4-use-dll-with-contenthash/index.js | test/configCases/dll-plugin/4-use-dll-with-contenthash/index.js | import d from "dll/d";
import { x1, y2 } from "./e";
import { x2, y1 } from "dll/e";
import { B } from "dll/h";
it("should load a module from dll", function() {
expect(require("dll/a")).toBe("a");
});
it("should load a module of non-default type without extension from dll", function() {
expect(require("dll/f")).toB... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/4-use-dll-with-contenthash/e.js | test/configCases/dll-plugin/4-use-dll-with-contenthash/e.js | export * from "dll/e1";
export * from "dll/e2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/dll-plugin/4-use-dll-with-contenthash/webpack.config.js | test/configCases/dll-plugin/4-use-dll-with-contenthash/webpack.config.js | "use strict";
const webpack = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
optimization: {
moduleIds: "named"
},
plugins: [
new webpack.DllReferencePlugin({
manifest: require("../../../js/config/dll-plugin/manifest0.json"),
name: "../0-create-dll-with-co... | 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.