Skip to content

Commit 062ba92

Browse files
committed
chore(html): fold the second @import of ../Chunk into the first
`lint:code` fails on `webpack/no-duplicate-import-tag` for it, which stops the `&&` chain before every later stage runs.
1 parent 5f695ff commit 062ba92

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎lib/html/HtmlModulesPlugin.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,10 @@ const getCssModulesPlugin = memoize(() => require("../css/CssModulesPlugin"));
7373
/** @typedef {import("../../declarations/WebpackOptions").OutputHtmlOptions["favicon"]} FaviconOption */
7474
/** @typedef {import("../../declarations/WebpackOptions").OutputHtmlOptions["manifest"]} ManifestOption */
7575
/** @typedef {Exclude<HtmlFaviconIcon, string>} FaviconIcon */
76-
/** @import Chunk from "../Chunk" */
76+
/** @import Chunk, { ChunkFilenameTemplate } from "../Chunk" */
7777
/** @import ChunkGraph from "../ChunkGraph" */
7878
/** @import Compiler from "../Compiler" */
7979
/** @import Module from "../Module" */
80-
/** @import { ChunkFilenameTemplate } from "../Chunk" */
8180
/** @typedef {import("../Compilation").EntryData} EntryData */
8281
/** @import { HtmlModuleBuildInfo } from "./HtmlModule" */
8382
/** @import HtmlParser from "./HtmlParser" */

0 commit comments

Comments
 (0)