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/hotCases/concat/reload-compat-flag/a.js
test/hotCases/concat/reload-compat-flag/a.js
export default 1;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/concat/reload-external/index.js
test/hotCases/concat/reload-external/index.js
import "./module";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/concat/reload-external/b.js
test/hotCases/concat/reload-external/b.js
export default 10; --- export default 10; --- export default 20; ---
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/concat/reload-external/webpack.config.js
test/hotCases/concat/reload-external/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "production", optimization: { minimize: false } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/concat/reload-external/module.js
test/hotCases/concat/reload-external/module.js
import value1 from "./a"; import value2 from "./b"; it("should allow to hot replace modules in a ConcatenatedModule", (done) => { expect(value1).toBe(1); expect(value2).toBe(10); module.hot.accept("./a", () => { expect(value1).toBe(2); NEXT(require("../../update")(done)); }); module.hot.accept("./b", () => { ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/concat/reload-external/a.js
test/hotCases/concat/reload-external/a.js
export default 1; --- export default 2; --- export default 2; ---
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/single-css-entry/test.filter.js
test/hotCases/css/single-css-entry/test.filter.js
"use strict"; module.exports = (config) => config.target === "web";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/single-css-entry/index.js
test/hotCases/css/single-css-entry/index.js
it("should work", done => { const links = window.document.getElementsByTagName("link"); expect(links[0].sheet.css).toContain("color: red;"); NEXT( require("../../update")(done, true, () => { const links = window.document.getElementsByTagName("link"); expect(links[0].sheet.css).toContain("color: blue;"); ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/single-css-entry/test.config.js
test/hotCases/css/single-css-entry/test.config.js
"use strict"; module.exports = { env: "jsdom" };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/single-css-entry/webpack.config.js
test/hotCases/css/single-css-entry/webpack.config.js
"use strict"; const webpack = require("../../../../"); /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", devtool: false, entry: ["./index.js", "./index.css"], experiments: { css: true }, plugins: [ { apply(compiler) { compiler.hooks.compilation.tap("Test", (c...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/export-type/index.js
test/hotCases/css/export-type/index.js
import textStyle from "./text.css"; it("should handle HMR for exportType", async function (done) { expect(typeof textStyle).toBe("string"); expect(textStyle).toContain("color: red"); expect(textStyle).toContain("text-class"); expect(textStyle).toContain("imported-class"); const { default: hi } = await import("./...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/export-type/test.config.js
test/hotCases/css/export-type/test.config.js
"use strict"; module.exports = { env: "jsdom" };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/export-type/webpack.config.js
test/hotCases/css/export-type/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { target: "web", mode: "development", devtool: false, module: { rules: [ { test: /text\.css$/, type: "css/module", parser: { exportType: "text" } }, { test: /stylesheet\.css$/, type: "css/modu...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/remove-css/test.filter.js
test/hotCases/css/remove-css/test.filter.js
"use strict"; module.exports = (config) => config.target === "web";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/remove-css/index.js
test/hotCases/css/remove-css/index.js
import "./index.css" it("should work", done => { const links = window.document.getElementsByTagName("link"); expect(links.length).toBe(1); NEXT(require("../../update")(done, true, () => { done() })) }); module.hot.accept(); --- it("should work", done => { const links = window.document.getElementsByTagName("lin...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/remove-css/test.config.js
test/hotCases/css/remove-css/test.config.js
"use strict"; module.exports = { env: "jsdom" };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/remove-css/webpack.config.js
test/hotCases/css/remove-css/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", devtool: false, output: { clean: true }, experiments: { css: true } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/vanilla/index.js
test/hotCases/css/vanilla/index.js
import "./style.css"; const getFile = name => __non_webpack_require__("fs").readFileSync( __non_webpack_require__("path").join(__dirname, name), "utf-8" ); it("should work", async function (done) { try { const style = getFile("bundle.css"); expect(style).toContain("color: red;"); } catch (e) {} await i...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/vanilla/test.config.js
test/hotCases/css/vanilla/test.config.js
"use strict"; module.exports = { moduleScope(scope) { const link = scope.window.document.createElement("link"); link.rel = "stylesheet"; link.href = "https://test.cases/path/bundle.css"; scope.window.document.head.appendChild(link); }, env: "jsdom" };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/vanilla/webpack.config.js
test/hotCases/css/vanilla/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", devtool: false, output: { cssChunkFilename: "[name].css" }, node: { __dirname: false }, experiments: { css: true } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/css-modules/index.js
test/hotCases/css/css-modules/index.js
import * as styles from "./style.module.css"; it("should work", async function (done) { expect(styles).toMatchObject({ class: "style_module_css-class" }); const styles2 = await import("./style2.module.css"); expect(styles2).toMatchObject({ foo: "style2_module_css-foo" }); module.hot.accept(["./style.module.c...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/css-modules/test.config.js
test/hotCases/css/css-modules/test.config.js
"use strict"; module.exports = { moduleScope(scope) { const link = scope.window.document.createElement("link"); link.rel = "stylesheet"; link.href = "https://test.cases/path/bundle.css"; scope.window.document.head.appendChild(link); }, env: "jsdom" };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/css-modules/webpack.config.js
test/hotCases/css/css-modules/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", devtool: false, experiments: { css: true } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/with-lazy-compilation/test.filter.js
test/hotCases/css/with-lazy-compilation/test.filter.js
"use strict"; module.exports = (config) => config.target === "web";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/with-lazy-compilation/index.js
test/hotCases/css/with-lazy-compilation/index.js
const getFile = name => __non_webpack_require__("fs").readFileSync( __non_webpack_require__("path").join(__dirname, name), "utf-8" ); it("should work", async function (done) { let promise = import("./style.css"); NEXT( require("../../update")(done, true, () => { promise.then(res => { const links = wi...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/with-lazy-compilation/webpack.config.js
test/hotCases/css/with-lazy-compilation/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", devtool: false, output: { cssFilename: "[name].css", cssChunkFilename: "[name].css" }, experiments: { css: true, lazyCompilation: { entries: false, imports: true } }, node: { __dirname: fa...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/imported-css/test.filter.js
test/hotCases/css/imported-css/test.filter.js
"use strict"; module.exports = (config) => config.target === "web";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/imported-css/index.js
test/hotCases/css/imported-css/index.js
import "./index.css" it("should work", done => { const links = window.document.getElementsByTagName("link"); expect(links[0].sheet.css).toContain("color: green;"); NEXT( require("../../update")(done, true, () => { const links = window.document.getElementsByTagName("link"); expect(links[0].sheet.css).toCont...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/imported-css/test.config.js
test/hotCases/css/imported-css/test.config.js
"use strict"; module.exports = { env: "jsdom" };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/imported-css/webpack.config.js
test/hotCases/css/imported-css/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", devtool: false, experiments: { css: true } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/fetch-priority/index.js
test/hotCases/css/fetch-priority/index.js
it("should work", async function (done) { const styles = await import(/* webpackFetchPriority: "high" */ "./style.module.css"); expect(styles).toMatchObject({ class: "style_module_css-class" }); module.hot.accept("./style.module.css", () => { import("./style.module.css").then(styles => { expect(styles).toM...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/fetch-priority/test.config.js
test/hotCases/css/fetch-priority/test.config.js
"use strict"; module.exports = { env: "jsdom" };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/css/fetch-priority/webpack.config.js
test/hotCases/css/fetch-priority/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", devtool: false, experiments: { css: true } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/parsing/hot-api-optional-chaining/index.js
test/hotCases/parsing/hot-api-optional-chaining/index.js
import value from "./a"; it("should run module.hot.accept(…)", function (done) { expect(value).toBe(1); module?.hot?.accept("./a", function () {}); NEXT( require("../../update")(done, true, () => { expect(value).toBe(2); done(); }) ); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/parsing/hot-api-optional-chaining/a.js
test/hotCases/parsing/hot-api-optional-chaining/a.js
export default 1; --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/self-decline/index.js
test/hotCases/errors/self-decline/index.js
import a from "./a"; it("should abort when module is declined by itself", (done) => { expect(a).toBe(1); NEXT(require("../../update")((err) => { try { expect(err.message).toMatch(/Aborted because of self decline: \.\/a\.js/); expect(err.message).toMatch(/Update propagation: \.\/c\.js -> \.\/b\.js -> \.\/a\.j...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/self-decline/b.js
test/hotCases/errors/self-decline/b.js
export { default } from "./c"
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/self-decline/c.js
test/hotCases/errors/self-decline/c.js
export default 1; --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/self-decline/a.js
test/hotCases/errors/self-decline/a.js
import b from "./b"; export default b; if(module.hot) { module.hot.decline(); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/unaccepted-ignored/index.js
test/hotCases/errors/unaccepted-ignored/index.js
import a from "./a"; import get from "./b"; var options = { ignoreUnaccepted: true }; it("should ignore unaccepted module updates", (done) => { function waitForUpdate(fn) { NEXT(require("../../update")(done, options, fn)); } expect(a).toBe(2); expect(get()).toBe(1); waitForUpdate(() => { expect(a).toBe(2); ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/unaccepted-ignored/b.js
test/hotCases/errors/unaccepted-ignored/b.js
import c from "./c" export default function get() { return c; } if(module.hot) { module.hot.accept("./c"); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/unaccepted-ignored/c.js
test/hotCases/errors/unaccepted-ignored/c.js
export default 1; --- export default 1; --- export default 2; --- export default 3;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/unaccepted-ignored/a.js
test/hotCases/errors/unaccepted-ignored/a.js
export default 2; --- export default 3; --- export default 3; --- export default 4;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/unaccepted/index.js
test/hotCases/errors/unaccepted/index.js
import a from "./a"; import b from "./b"; it("should abort when module is not accepted", (done) => { expect(a).toBe(2); expect(b).toBe(1); NEXT(require("../../update")((err) => { try { expect(err.message).toMatch(/Aborted because \.\/c\.js is not accepted/); expect(err.message).toMatch(/Update propagation: ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/unaccepted/b.js
test/hotCases/errors/unaccepted/b.js
export { default } from "./c"
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/unaccepted/c.js
test/hotCases/errors/unaccepted/c.js
export default 1; --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/unaccepted/a.js
test/hotCases/errors/unaccepted/a.js
export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/l.js
test/hotCases/errors/events/l.js
export default 1; module.hot.accept((err, { moduleId }) => { throw new Error(`Error in accept error handler: ${moduleId}`) }); --- export default 2; throw new Error("Error while loading module l");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/index.js
test/hotCases/errors/events/index.js
import a from "./a"; import b from "./b"; import d from "./d"; import f from "./f"; import h from "./h"; import j from "./j"; import k from "./k"; import l from "./l"; it("should import modules correctly", () => { expect(a).toBe(1); expect(b).toBe(1); expect(d).toBe(1); expect(f).toBe(1); expect(h).toBe(1); expe...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/b.js
test/hotCases/errors/events/b.js
import c from "./c"; export default c; if (module.hot) { module.hot.accept("./c"); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/i.js
test/hotCases/errors/events/i.js
export default 1; --- export default 2; throw new Error("Error while loading module i");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/h.js
test/hotCases/errors/events/h.js
import i from "./i"; export default i; if (module.hot) { module.hot.accept("./i"); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/g.js
test/hotCases/errors/events/g.js
export default 1; --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/d.js
test/hotCases/errors/events/d.js
import e from "./e"; export default e; if (module.hot) { module.hot.decline(); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/f.js
test/hotCases/errors/events/f.js
import g from "./g"; export default g; if (module.hot) { module.hot.decline("./g"); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/e.js
test/hotCases/errors/events/e.js
export default 1; --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/j.js
test/hotCases/errors/events/j.js
export default 1; module.hot.accept(); --- export default 2; throw new Error("Error while loading module j");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/k.js
test/hotCases/errors/events/k.js
import i from "./i"; export default i; if (module.hot) { module.hot.accept( "./i", () => {}, (err, { moduleId, dependencyId }) => { throw new Error( `Error in accept error handler: ${moduleId} -> ${dependencyId}` ); } ); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/c.js
test/hotCases/errors/events/c.js
export default 1; --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/events/a.js
test/hotCases/errors/events/a.js
export default 1; --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/decline-webpackhot/index.js
test/hotCases/errors/decline-webpackhot/index.js
import a from "./a"; it("should abort when module is declined by parent", (done) => { expect(a).toBe(1); NEXT(require("../../update")((err) => { try { expect(err.message).toMatch(/Aborted because of declined dependency: \.\/b\.js in \.\/a\.js/); expect(err.message).toMatch(/Update propagation: \.\/c\.js -> \...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/decline-webpackhot/b.js
test/hotCases/errors/decline-webpackhot/b.js
export { default } from "./c"
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/decline-webpackhot/c.js
test/hotCases/errors/decline-webpackhot/c.js
export default 1; --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/decline-webpackhot/a.js
test/hotCases/errors/decline-webpackhot/a.js
import b from "./b"; export default b; if(import.meta.webpackHot) { import.meta.webpackHot.decline("./b"); import.meta.webpackHot.accept(); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/decline/index.js
test/hotCases/errors/decline/index.js
import a from "./a"; it("should abort when module is declined by parent", (done) => { expect(a).toBe(1); NEXT(require("../../update")((err) => { try { expect(err.message).toMatch(/Aborted because of declined dependency: \.\/b\.js in \.\/a\.js/); expect(err.message).toMatch(/Update propagation: \.\/c\.js -> \...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/decline/b.js
test/hotCases/errors/decline/b.js
export { default } from "./c"
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/decline/c.js
test/hotCases/errors/decline/c.js
export default 1; --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/errors/decline/a.js
test/hotCases/errors/decline/a.js
import b from "./b"; export default b; if(module.hot) { module.hot.decline("./b"); module.hot.accept(); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/split-chunks-webpackhot/index.js
test/hotCases/chunks/split-chunks-webpackhot/index.js
import vendor from "vendor"; import.meta.webpackHot.accept("vendor"); it("should hot update a splitted initial chunk", function (done) { expect(vendor).toBe("1"); NEXT( require("../../update")(done, true, () => { expect(vendor).toBe("2"); done(); }) ); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/split-chunks-webpackhot/webpack.config.js
test/hotCases/chunks/split-chunks-webpackhot/webpack.config.js
"use strict"; module.exports = { output: { filename: "[name].js" }, optimization: { chunkIds: "total-size", splitChunks: { chunks: "all", minSize: 0 } } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/split-chunks-webpackhot/node_modules/vendor.js
test/hotCases/chunks/split-chunks-webpackhot/node_modules/vendor.js
module.exports = "1"; --- module.exports = "2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/accept-system-import/index.js
test/hotCases/chunks/accept-system-import/index.js
it("should import a changed chunk", (done) => { import("./chunk").then((chunk) => { expect(chunk.value).toBe(1); import("./chunk2").then((chunk2) => { expect(chunk2.value).toBe(1); NEXT(require("../../update")(done)); module.hot.accept(["./chunk", "./chunk2"], () => { import("./chunk").then((chunk) =>...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/accept-system-import/chunk.js
test/hotCases/chunks/accept-system-import/chunk.js
export { value } from "./file";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/accept-system-import/chunk2.js
test/hotCases/chunks/accept-system-import/chunk2.js
export { value } from "./file";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/accept-system-import/file.js
test/hotCases/chunks/accept-system-import/file.js
export var value = 1; --- export var value = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/dynamic-system-import/chunk1.js
test/hotCases/chunks/dynamic-system-import/chunk1.js
export { value } from "./file"; module.hot.accept("./file");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/dynamic-system-import/index.js
test/hotCases/chunks/dynamic-system-import/index.js
it("should import a changed chunk (dynamic import)", function(done) { function load(name) { return import("./chunk" + name); } load(1).then((chunk) => { expect(chunk.value).toBe(1); NEXT(require("../../update")(done, true, () => { expect(chunk.value).toBe(2); load(2).then((chunk2) => { expect(chunk2....
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/dynamic-system-import/chunk2.js
test/hotCases/chunks/dynamic-system-import/chunk2.js
export { value } from "./file"; module.hot.accept("./file");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/dynamic-system-import/file.js
test/hotCases/chunks/dynamic-system-import/file.js
export var value = 1; --- export var value = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/update-chunk-loading-runtime/index.js
test/hotCases/chunks/update-chunk-loading-runtime/index.js
import value from "vendor"; // if (import.meta.webpackHot.data) throw new Error("Should not be executed again"); it("should correctly self-accept an entrypoint when chunk loading runtime module is updated", done => { const hash = __webpack_hash__; expect(value).toBe(1); let hmrData; import.meta.webpackHot.dispose(d...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/update-chunk-loading-runtime/chunk.js
test/hotCases/chunks/update-chunk-loading-runtime/chunk.js
export default 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/update-chunk-loading-runtime/webpack.config.js
test/hotCases/chunks/update-chunk-loading-runtime/webpack.config.js
"use strict"; /** * @param {{ config: import("../../../../").Configuration }} config configuration * @returns {import("../../../../").Configuration} configuration */ module.exports = ({ config }) => ({ output: { filename: "[name].js" }, optimization: { runtimeChunk: config.target !== "webworker", splitChun...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/update-chunk-loading-runtime/node_modules/vendor.js
test/hotCases/chunks/update-chunk-loading-runtime/node_modules/vendor.js
export default 1; --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/initial-chunks-hmr/index.js
test/hotCases/chunks/initial-chunks-hmr/index.js
import 'lib-js/a' import.meta.webpackHot.accept(); it("should work if there are new initial chunks", function (done) { import('./initial').then(({value}) => { expect(value).toBe('a') }).catch(done) NEXT(require("../../update")(done, true, () => { done() })) }); --- import 'lib-js/a' it("should work i...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/initial-chunks-hmr/initial.js
test/hotCases/chunks/initial-chunks-hmr/initial.js
require('lib-js/a') export var value = "a"; --- require('lib-js/b') export var value = "b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/initial-chunks-hmr/webpack.config.js
test/hotCases/chunks/initial-chunks-hmr/webpack.config.js
"use strict"; module.exports = { optimization: { chunkIds: "named", moduleIds: "named", minimize: false, concatenateModules: false, splitChunks: { minSize: 1000, chunks: "all", cacheGroups: { lib: { test: /lib-js/, name: "lib" }, default: false, defaultVendors: false } ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/initial-chunks-hmr/node_modules/lib-js/b.js
test/hotCases/chunks/initial-chunks-hmr/node_modules/lib-js/b.js
export const b = 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/initial-chunks-hmr/node_modules/lib-js/a.js
test/hotCases/chunks/initial-chunks-hmr/node_modules/lib-js/a.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/hotCases/chunks/system-import/file2.js
test/hotCases/chunks/system-import/file2.js
export var value = 3; --- export var value = 4;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/system-import/index.js
test/hotCases/chunks/system-import/index.js
it("should import a changed chunk", (done) => { import("./chunk").then((chunk) => { expect(chunk.value).toBe(1); expect(chunk.value2).toBe(3); expect(chunk.counter).toBe(0); NEXT(require("../../update")(done, true, () => { expect(chunk.value).toBe(2); expect(chunk.value2).toBe(4); expect(chunk.counter...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/system-import/chunk.js
test/hotCases/chunks/system-import/chunk.js
export { value } from "./file"; export { value as value2 } from "./file2"; export var counter = 0; module.hot.accept("./file"); module.hot.accept("./file2", function() { counter++; });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/system-import/chunk2.js
test/hotCases/chunks/system-import/chunk2.js
export { value } from "./file"; export { value as value2 } from "./file2"; export var counter = 0; module.hot.accept("./file"); module.hot.accept("./file2", function() { counter++; });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/system-import/file.js
test/hotCases/chunks/system-import/file.js
export var value = 1; --- export var value = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/split-chunks/index.js
test/hotCases/chunks/split-chunks/index.js
import vendor from "vendor"; module.hot.accept("vendor"); it("should hot update a splitted initial chunk", function (done) { expect(vendor).toBe("1"); NEXT( require("../../update")(done, true, () => { expect(vendor).toBe("2"); done(); }) ); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/split-chunks/webpack.config.js
test/hotCases/chunks/split-chunks/webpack.config.js
"use strict"; module.exports = { output: { filename: "[name].js" }, optimization: { chunkIds: "total-size", splitChunks: { chunks: "all", minSize: 0 } } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/split-chunks/node_modules/vendor.js
test/hotCases/chunks/split-chunks/node_modules/vendor.js
module.exports = "1"; --- module.exports = "2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/accept-system-import-webpackhot/index.js
test/hotCases/chunks/accept-system-import-webpackhot/index.js
it("should import a changed chunk", (done) => { import("./chunk").then((chunk) => { expect(chunk.value).toBe(1); import("./chunk2").then((chunk2) => { expect(chunk2.value).toBe(1); NEXT(require("../../update")(done)); import.meta.webpackHot.accept(["./chunk", "./chunk2"], () => { import("./chunk").the...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/accept-system-import-webpackhot/chunk.js
test/hotCases/chunks/accept-system-import-webpackhot/chunk.js
export { value } from "./file";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/accept-system-import-webpackhot/chunk2.js
test/hotCases/chunks/accept-system-import-webpackhot/chunk2.js
export { value } from "./file";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/chunks/accept-system-import-webpackhot/file.js
test/hotCases/chunks/accept-system-import-webpackhot/file.js
export var value = 1; --- export var value = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false