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/hash/debug-hash/files/file8.js | test/configCases/hash/debug-hash/files/file8.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/debug-hash/files/file4.js | test/configCases/hash/debug-hash/files/file4.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/index.js | test/configCases/hash/digest/index.js | it("should have unique ids", function () {
var ids = [];
for(var i = 1; i <= 15; i++) {
var id = require("./files/file" + i + ".js");
expect(ids.indexOf(id)).toBe(-1);
ids.push(id);
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/webpack.config.js | test/configCases/hash/digest/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration[]} */
module.exports = [
// Default hash function and all hash digests
{
output: {
hashDigest: "base64url"
}
},
{
output: {
hashDigest: "base26"
}
},
{
output: {
hashDigest: "base32"
}
},
{
output: {
hashDigest: "base36"
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file15.js | test/configCases/hash/digest/files/file15.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file1.js | test/configCases/hash/digest/files/file1.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file13.js | test/configCases/hash/digest/files/file13.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file10.js | test/configCases/hash/digest/files/file10.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file2.js | test/configCases/hash/digest/files/file2.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file7.js | test/configCases/hash/digest/files/file7.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file5.js | test/configCases/hash/digest/files/file5.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file14.js | test/configCases/hash/digest/files/file14.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file3.js | test/configCases/hash/digest/files/file3.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file12.js | test/configCases/hash/digest/files/file12.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file6.js | test/configCases/hash/digest/files/file6.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file9.js | test/configCases/hash/digest/files/file9.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file11.js | test/configCases/hash/digest/files/file11.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file8.js | test/configCases/hash/digest/files/file8.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/digest/files/file4.js | test/configCases/hash/digest/files/file4.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/index.js | test/configCases/hash/xxhash/index.js | it("should have unique ids", function () {
var ids = [];
for(var i = 1; i <= 15; i++) {
var id = require("./files/file" + i + ".js");
expect(ids.indexOf(id)).toBe(-1);
ids.push(id);
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/webpack.config.js | test/configCases/hash/xxhash/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration[]} */
module.exports = [
{
output: {
hashFunction: require("xxhashjs").h32,
hashDigest: "hex"
}
},
{
output: {
hashFunction: require("xxhashjs").h32,
hashDigest: "base64url"
}
},
{
output: {
hashFunction: require("xxhashjs").h3... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file15.js | test/configCases/hash/xxhash/files/file15.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file1.js | test/configCases/hash/xxhash/files/file1.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file13.js | test/configCases/hash/xxhash/files/file13.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file10.js | test/configCases/hash/xxhash/files/file10.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file2.js | test/configCases/hash/xxhash/files/file2.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file7.js | test/configCases/hash/xxhash/files/file7.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file5.js | test/configCases/hash/xxhash/files/file5.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file14.js | test/configCases/hash/xxhash/files/file14.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file3.js | test/configCases/hash/xxhash/files/file3.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file12.js | test/configCases/hash/xxhash/files/file12.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file6.js | test/configCases/hash/xxhash/files/file6.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file9.js | test/configCases/hash/xxhash/files/file9.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file11.js | test/configCases/hash/xxhash/files/file11.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file8.js | test/configCases/hash/xxhash/files/file8.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/hash/xxhash/files/file4.js | test/configCases/hash/xxhash/files/file4.js | module.exports = module.id;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/emit-asset/equal-source/index.js | test/configCases/emit-asset/equal-source/index.js | it("should compile without warnings", () => {
require("./test1.txt");
require("./test2.txt");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/emit-asset/equal-source/webpack.config.js | test/configCases/emit-asset/equal-source/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
rules: [
{
test: /\.txt$/,
use: {
loader: "file-loader",
options: {
name: "same-name.txt"
}
}
}
]
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/emit-asset/different-source/index.js | test/configCases/emit-asset/different-source/index.js | it("should compile without warnings", () => {
require("./test1.txt");
require("./test2.txt");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/emit-asset/different-source/webpack.config.js | test/configCases/emit-asset/different-source/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
rules: [
{
test: /\.txt$/,
use: {
loader: "file-loader",
options: {
name: "same-name.txt"
}
}
}
]
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/emit-asset/different-source/errors.js | test/configCases/emit-asset/different-source/errors.js | "use strict";
module.exports = [
[
/Conflict/,
/Multiple assets emit different content to the same filename/,
/same-name\.txt/
]
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/all-selected/index.js | test/configCases/async-commons-chunk/all-selected/index.js | it("should load the full async commons", function(done) {
require.ensure(["./a"], function(require) {
expect(require("./a")).toBe("a");
done();
});
});
it("should load a chunk with async commons (AMD)", function(done) {
require(["./a", "./b"], function(a, b) {
expect(a).toBe("a");
expect(b).toBe("b");
don... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/all-selected/b.js | test/configCases/async-commons-chunk/all-selected/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/async-commons-chunk/all-selected/webpack.config.js | test/configCases/async-commons-chunk/all-selected/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
optimization: {
splitChunks: {
minSize: 1
}
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/all-selected/c.js | test/configCases/async-commons-chunk/all-selected/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/async-commons-chunk/all-selected/a.js | test/configCases/async-commons-chunk/all-selected/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/async-commons-chunk/node/index.js | test/configCases/async-commons-chunk/node/index.js | import "./modules/a";
it("should load", done => {
Promise.all([import("./modules/b"), import("./modules/c")]).then(() => {
done();
});
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/node/webpack.config.js | test/configCases/async-commons-chunk/node/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
mode: "none",
entry: {
"foo/bar": "./"
},
target: "node",
optimization: {
chunkIds: "named",
moduleIds: "named"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/node/modules/b.js | test/configCases/async-commons-chunk/node/modules/b.js | export default "b";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/node/modules/c.js | test/configCases/async-commons-chunk/node/modules/c.js | import("./a");
export default "c";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/node/modules/a.js | test/configCases/async-commons-chunk/node/modules/a.js | import "./b";
export default "a";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/existing-name/index.js | test/configCases/async-commons-chunk/existing-name/index.js | const chunkLoadingSpy = jest.spyOn(__webpack_require__, "e");
it("should not have duplicate chunks in blocks", function (done) {
let i = 0;
const d = () => {
if (i++ >= 3) done();
};
// This split point should contain: a
require.ensure(
[],
function (require) {
expect(require("./a")).toBe("a");
d();
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/existing-name/b.js | test/configCases/async-commons-chunk/existing-name/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/async-commons-chunk/existing-name/webpack.config.js | test/configCases/async-commons-chunk/existing-name/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
performance: {
hints: false
},
optimization: {
splitChunks: {
minSize: 1
},
chunkIds: "named"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/existing-name/c.js | test/configCases/async-commons-chunk/existing-name/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/async-commons-chunk/existing-name/a.js | test/configCases/async-commons-chunk/existing-name/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/async-commons-chunk/nested/index.js | test/configCases/async-commons-chunk/nested/index.js | it("should load nested commons chunk", function(done) {
require.ensure(["./a"], function(require) {
expect(require("./a")).toBe("a");
var counter = 0;
require.ensure(["./b", "./c"], function(require) {
expect(require("./b")).toBe("b");
expect(require("./c")).toBe("c");
if(++counter == 3) done();
});
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/nested/b.js | test/configCases/async-commons-chunk/nested/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/async-commons-chunk/nested/d.js | test/configCases/async-commons-chunk/nested/d.js | module.exports = "d"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/nested/webpack.config.js | test/configCases/async-commons-chunk/nested/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
optimization: {
splitChunks: {
minSize: 1
}
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/nested/c.js | test/configCases/async-commons-chunk/nested/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/async-commons-chunk/nested/a.js | test/configCases/async-commons-chunk/nested/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/async-commons-chunk/duplicate/index.js | test/configCases/async-commons-chunk/duplicate/index.js | it("should load nested commons chunk", function(done) {
var counter = 0;
require.ensure(["./a"], function(require) {
expect(require("./a")).toBe("a");
require.ensure(["./c", "./d"], function(require) {
expect(require("./c")).toBe("c");
expect(require("./d")).toBe("d");
if(++counter == 4) done();
});
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/duplicate/b.js | test/configCases/async-commons-chunk/duplicate/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/async-commons-chunk/duplicate/d.js | test/configCases/async-commons-chunk/duplicate/d.js | module.exports = "d"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/duplicate/e.js | test/configCases/async-commons-chunk/duplicate/e.js | module.exports = "e"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/duplicate/webpack.config.js | test/configCases/async-commons-chunk/duplicate/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
optimization: {
splitChunks: {
minSize: 1
}
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/duplicate/c.js | test/configCases/async-commons-chunk/duplicate/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/async-commons-chunk/duplicate/a.js | test/configCases/async-commons-chunk/duplicate/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/async-commons-chunk/simple/index.js | test/configCases/async-commons-chunk/simple/index.js | it("should load the full async commons", function(done) {
require.ensure(["./a"], function(require) {
expect(require("./a")).toBe("a");
done();
});
});
it("should load a chunk with async commons (AMD)", function(done) {
require(["./a", "./b"], function(a, b) {
expect(a).toBe("a");
expect(b).toBe("b");
don... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/simple/b.js | test/configCases/async-commons-chunk/simple/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/async-commons-chunk/simple/webpack.config.js | test/configCases/async-commons-chunk/simple/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
optimization: {
splitChunks: {
minSize: 1
}
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-commons-chunk/simple/c.js | test/configCases/async-commons-chunk/simple/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/async-commons-chunk/simple/a.js | test/configCases/async-commons-chunk/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/css/exports-convention/index.js | test/configCases/css/exports-convention/index.js | import * as styles1 from "./style.module.css?camel-case#1";
import * as styles2 from "./style.module.css?camel-case#2";
const prod = process.env.NODE_ENV === "production";
const target = process.env.TARGET;
it("concatenation and mangling should work", () => {
expect(styles1.class).toBe(prod ? "w3DuhZ" : "style_modul... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/exports-convention/test.config.js | test/configCases/css/exports-convention/test.config.js | "use strict";
module.exports = {
findBundle(i) {
return [
`style_module_css_as-is.bundle${i}.js`,
`style_module_css_camel-case.bundle${i}.js`,
`style_module_css_camel-case-only.bundle${i}.js`,
`style_module_css_dashes.bundle${i}.js`,
`style_module_css_dashes-only.bundle${i}.js`,
`style_module_css_... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/exports-convention/webpack.config.js | test/configCases/css/exports-convention/webpack.config.js | "use strict";
const webpack = require("../../../../");
/** @typedef {import("../../../../").GeneratorOptionsByModuleTypeKnown} GeneratorOptionsByModuleTypeKnown */
const common = {
optimization: {
chunkIds: "named"
},
module: {
rules: [
{
test: /\.module\.css$/,
type: "css/module",
oneOf: [
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/basic-web-async/index.js | test/configCases/css/basic-web-async/index.js | import * as style from "./style.css";
it("should compile and load style on demand", done => {
expect(style).toEqual({});
import("./style2.css").then(x => {
expect(x).toEqual({});
const style = getComputedStyle(document.body);
expect(style.getPropertyValue("background")).toBe(" red");
expect(style.getProperty... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/basic-web-async/test.config.js | test/configCases/css/basic-web-async/test.config.js | "use strict";
module.exports = {
findBundle() {
return ["style2_css.bundle0.js", "bundle0.js"];
},
moduleScope(scope) {
const link = scope.window.document.createElement("link");
link.rel = "stylesheet";
link.href = "bundle0.css";
scope.window.document.head.appendChild(link);
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/basic-web-async/webpack.config.js | test/configCases/css/basic-web-async/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
target: "web",
mode: "development",
externalsPresets: { web: false, webAsync: true },
experiments: {
css: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/no-extra-runtime-with-asset-modules/index.js | test/configCases/css/no-extra-runtime-with-asset-modules/index.js | import "./style.css";
it("should compile", () => {
const links = document.getElementsByTagName("link");
const css = [];
// Skip first because import it by default
for (const link of links.slice(1)) {
css.push(link.sheet.css);
}
expect(css).toMatchSnapshot();
expect(Object.keys(__webpack_modules__).length).t... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/no-extra-runtime-with-asset-modules/test.config.js | test/configCases/css/no-extra-runtime-with-asset-modules/test.config.js | "use strict";
module.exports = {
moduleScope(scope) {
const link = scope.window.document.createElement("link");
link.rel = "stylesheet";
link.href = "bundle0.css";
scope.window.document.head.appendChild(link);
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/no-extra-runtime-with-asset-modules/webpack.config.js | test/configCases/css/no-extra-runtime-with-asset-modules/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
target: "web",
mode: "development",
devtool: false,
experiments: {
css: true
},
module: {
rules: [
{
test: /resource\.png$/,
type: "asset/resource"
},
{
test: /inline\.png$/,
type: "asset/inline"
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/export-type/warnings.js | test/configCases/css/export-type/warnings.js | "use strict";
module.exports = [
/Should not import the named export 'no-esm-text'/,
/Should not import the named export 'no-esm-text'/
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/export-type/index.js | test/configCases/css/export-type/index.js | import moduleText, { class as moduleTextClass } from "./module-text.css";
import autoText from "./auto-text.css";
import * as moduleTextNoEsm from "./module-text-no-esm.css";
import autoTextNoEsm from "./auto-text-no-esm.css";
import moduleWithImports from "./module-with-imports.css";
import parentModuleWithImports fro... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/export-type/webpack.config.js | test/configCases/css/export-type/webpack.config.js | "use strict";
/** @typedef {import("../../../../").GeneratorOptionsByModuleTypeKnown} GeneratorOptionsByModuleTypeKnown */
/** @type {import("../../../../").Configuration} */
/**
* @param {object} options Configuration options
* @param {boolean=} options.concatenateModules Whether to concatenate modules
* @return... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/pseudo-import/warnings.js | test/configCases/css/pseudo-import/warnings.js | "use strict";
module.exports = [
// /ICSS import "NONE_IMPORT" has no value./
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/pseudo-import/index.js | test/configCases/css/pseudo-import/index.js | import './style.modules.css';
it("should compile", () => {
const links = document.getElementsByTagName("link");
const css = [];
// Skip first because import it by default
for (const link of links.slice(1)) {
css.push(link.sheet.css);
}
expect(css).toMatchSnapshot();
});
it("should re-export", (done) => {
i... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/pseudo-import/test.config.js | test/configCases/css/pseudo-import/test.config.js | "use strict";
module.exports = {
findBundle() {
return ["reexport_modules_css.bundle0.js", "bundle0.js"];
},
moduleScope(scope) {
const link = scope.window.document.createElement("link");
link.rel = "stylesheet";
link.href = "bundle0.css";
scope.window.document.head.appendChild(link);
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/pseudo-import/webpack.config.js | test/configCases/css/pseudo-import/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
target: "web",
mode: "development",
experiments: {
css: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/basic-initial-only/index.js | test/configCases/css/basic-initial-only/index.js | import * as style from "./style.css";
it("should compile and load initial style", () => {
expect(style).toEqual({});
const computedStyle = getComputedStyle(document.body);
expect(computedStyle.getPropertyValue("background")).toBe(" red");
expect(computedStyle.getPropertyValue("margin")).toBe(" 10px");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/basic-initial-only/test.config.js | test/configCases/css/basic-initial-only/test.config.js | "use strict";
module.exports = {
moduleScope(scope) {
const link = scope.window.document.createElement("link");
link.rel = "stylesheet";
link.href = "bundle0.css";
scope.window.document.head.appendChild(link);
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/basic-initial-only/webpack.config.js | test/configCases/css/basic-initial-only/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
target: "web",
mode: "development",
externalsPresets: { web: false, webAsync: true },
experiments: {
css: true
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/basic-esm-target-node/index.js | test/configCases/css/basic-esm-target-node/index.js | import * as style from "./style.css";
it("should compile and load style on demand", done => {
expect(style).toEqual({});
import("./style2.css").then(x => {
expect(x).toEqual({});
done();
}, done);
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/basic-esm-target-node/webpack.config.js | test/configCases/css/basic-esm-target-node/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
target: "node",
mode: "development",
experiments: {
outputModule: true,
css: true
},
output: {
module: true,
chunkFormat: "module"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/external-in-web/index.js | test/configCases/css/external-in-web/index.js | import * as style from "./style.css";
it("should import an external CSS inside CSS", () => {
const bodyStyle = getComputedStyle(document.body);
expect(bodyStyle.getPropertyValue("color")).toBe(" green");
expect(bodyStyle.getPropertyValue("padding")).toBe(" 10px");
});
// import * as style1 from "http://test.com/i... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/external-in-web/test.config.js | test/configCases/css/external-in-web/test.config.js | "use strict";
module.exports = {
moduleScope(scope, stats) {
const link = scope.window.document.createElement("link");
link.rel = "stylesheet";
link.href = stats.experiments.outputModule ? "bundle1.css" : "bundle0.css";
scope.window.document.head.appendChild(link);
},
findBundle(i) {
return i === 0 ? ["dy... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/external-in-web/webpack.config.js | test/configCases/css/external-in-web/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = [
{
target: "web",
optimization: {
chunkIds: "named"
},
experiments: {
css: true
}
},
{
target: "web",
optimization: {
chunkIds: "named"
},
experiments: {
css: true,
outputModule: true
}
}
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/no-extra-runtime-css-modules/main2.js | test/configCases/css/no-extra-runtime-css-modules/main2.js | import a1 from "./a1.module.css"
const a2 = require("./a2.module.css")
import("./a3.module.css").then(() => {})
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/css/no-extra-runtime-css-modules/test.js | test/configCases/css/no-extra-runtime-css-modules/test.js | it("should work", () => {
const stats = __STATS__.children[__STATS_I__];
expect(stats.assets.findIndex(a => a.name === "test.js") > -1).toBe(true);
expect(
stats.assets.findIndex(a => a.name === `${__STATS_I__}/main.css`) > -1
).toBe(true);
if (__STATS_I__ === 0) {
// ./main.css
// ./a.css
// and it sti... | 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.