We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33a075a commit 934219fCopy full SHA for 934219f
frontend/encore/custom-loaders-plugins.rst
@@ -56,7 +56,10 @@ to use the `IgnorePlugin`_ (see `moment/moment#2373`_):
56
Encore
57
// ...
58
59
- + .addPlugin(new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/))
+ + .addPlugin(new webpack.IgnorePlugin({
60
+ resourceRegExp: /^\.\/locale$/,
61
+ contextRegExp: /moment$/,
62
+ }))
63
;
64
65
.. _`handlebars-loader`: https://github.com/pcardune/handlebars-loader
0 commit comments