Skip to content

chore(deps-dev): replace html-webpack-skip-assets-plugin with native excludeChunks#10874

Merged
robert-hebel-sb merged 2 commits into
masterfrom
chore/replace-html-webpack-skip-assets-plugin
May 11, 2026
Merged

chore(deps-dev): replace html-webpack-skip-assets-plugin with native excludeChunks#10874
robert-hebel-sb merged 2 commits into
masterfrom
chore/replace-html-webpack-skip-assets-plugin

Conversation

@robert-hebel-sb
Copy link
Copy Markdown
Contributor

@robert-hebel-sb robert-hebel-sb commented May 7, 2026

Description

Removes the unmaintained html-webpack-skip-assets-plugin dependency (last release 2021) and replaces its usage with HtmlWebpackPlugin's built-in excludeChunks option, which achieves the same result natively.

Motivation and Context

html-webpack-skip-assets-plugin has not been updated since 2021 and is no longer necessary — html-webpack-plugin v5 supports excluding chunks by name via excludeChunks. The plugin was only used in one place to skip injecting swagger-ui.js (the SCSS entry point) into the HTML, which maps directly to excludeChunks: ["swagger-ui"].

How Has This Been Tested?

  • Verified chunk name matches the swagger-ui entry in webpack/dev.js
  • No logic change — behaviour is identical

Checklist

  • No code changes (dependency/build tooling only)
  • No breaking changes
  • No documentation updates required
  • No new tests required
Screenshot 2026-05-11 at 09 04 47

🤖 Generated with Claude Code

robert-hebel-sb and others added 2 commits May 7, 2026 15:49
…excludeChunks

Use HtmlWebpackPlugin's built-in excludeChunks option instead of the
unmaintained html-webpack-skip-assets-plugin dependency.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@robert-hebel-sb robert-hebel-sb merged commit 70120da into master May 11, 2026
9 checks passed
@swagger-bot
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 5.32.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants