Skip to content

Conversation

@SukkaW
Copy link
Collaborator

@SukkaW SukkaW commented Jan 10, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 10, 2026 18:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes minor changes to type definitions and webpack asset loader configuration. The changes extend the htmlTemplatePath type to accept falsy values for disabling the HTML plugin, update its documentation, and simplify the asset loader configuration by removing a redundant generator setting.

Changes:

  • Extended htmlTemplatePath type to include null, undefined, and false values with updated documentation
  • Removed custom generator configuration from the /assets\// loader rule

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
src/types.ts Updated htmlTemplatePath type to accept falsy values and added documentation about the default value and disabling behavior
src/blocks/loaders.ts Removed the generator configuration for assets matching /assets\//, allowing them to use the global assetModuleFilename setting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@SukkaW SukkaW closed this Jan 12, 2026
@SukkaW SukkaW deleted the fix-asset-filename-html-webpack-plugin branch January 12, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants