Skip to content

Commit c5bdb12

Browse files
committed
minor #17304 Improve the diff highlighting for custom webpack plugins (stof)
This PR was submitted for the 6.1 branch but it was merged into the 4.4 branch instead. Discussion ---------- Improve the diff highlighting for custom webpack plugins Highlighting only part of the new method call does not make sense. Commits ------- 9f31eb7 Improve the diff highlighting for custom webpack plugins
2 parents da9234a + 9f31eb7 commit c5bdb12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/encore/custom-loaders-plugins.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ to use the `IgnorePlugin`_ (see `moment/moment#2373`_):
5757
// ...
5858
5959
+ .addPlugin(new webpack.IgnorePlugin({
60-
resourceRegExp: /^\.\/locale$/,
61-
contextRegExp: /moment$/,
62-
}))
60+
+ resourceRegExp: /^\.\/locale$/,
61+
+ contextRegExp: /moment$/,
62+
+ }))
6363
;
6464
6565
.. _`handlebars-loader`: https://github.com/pcardune/handlebars-loader

0 commit comments

Comments
 (0)