Update npm packages (73 packages including @jqhtml 2.3.36)
Update npm registry domain from privatenpm.hanson.xyz to npm.internal.hanson.xyz 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
4
node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js
generated
vendored
4
node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js
generated
vendored
@@ -30,6 +30,7 @@ class OccurrenceChunkIdsPlugin {
|
||||
*/
|
||||
constructor(options = {}) {
|
||||
validate(options);
|
||||
/** @type {OccurrenceChunkIdsPluginOptions} */
|
||||
this.options = options;
|
||||
}
|
||||
|
||||
@@ -39,7 +40,6 @@ class OccurrenceChunkIdsPlugin {
|
||||
* @returns {void}
|
||||
*/
|
||||
apply(compiler) {
|
||||
const prioritiseInitial = this.options.prioritiseInitial;
|
||||
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
|
||||
compilation.hooks.chunkIds.tap(PLUGIN_NAME, (chunks) => {
|
||||
const chunkGraph = compilation.chunkGraph;
|
||||
@@ -61,7 +61,7 @@ class OccurrenceChunkIdsPlugin {
|
||||
|
||||
/** @type {Chunk[]} */
|
||||
const chunksInOccurrenceOrder = [...chunks].sort((a, b) => {
|
||||
if (prioritiseInitial) {
|
||||
if (this.options.prioritiseInitial) {
|
||||
const aEntryOccurs =
|
||||
/** @type {number} */
|
||||
(occursInInitialChunksMap.get(a));
|
||||
|
||||
Reference in New Issue
Block a user