Skip to content

Commit

Permalink
Improve code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Nov 10, 2024
1 parent 8c25bad commit 599854e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ const scriptConfig = {
// generated, and the default externals set.
! process.env.WP_NO_EXTERNALS &&
new DependencyExtractionWebpackPlugin(),
// Remove empty scripts generated by usage only a style without JS in entry.
// Removes obsolete empty scripts generated when CSS files are set as entry points.
new RemoveEmptyScriptsPlugin( {
stage: RemoveEmptyScriptsPlugin.STAGE_AFTER_PROCESS_PLUGINS,
} ),
Expand Down

0 comments on commit 599854e

Please sign in to comment.