Skip to content

Commit 5f3cc67

Browse files
authored
Improve the diff highlighting for custom webpack plugins
Highlighting only part of the new method call does not make sense.
1 parent 25d7f17 commit 5f3cc67

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)