diff --git a/frontend/encore/custom-loaders-plugins.rst b/frontend/encore/custom-loaders-plugins.rst index 6e0957a085c..92699b0857a 100644 --- a/frontend/encore/custom-loaders-plugins.rst +++ b/frontend/encore/custom-loaders-plugins.rst @@ -57,9 +57,9 @@ to use the `IgnorePlugin`_ (see `moment/moment#2373`_): // ... + .addPlugin(new webpack.IgnorePlugin({ - resourceRegExp: /^\.\/locale$/, - contextRegExp: /moment$/, - })) + + resourceRegExp: /^\.\/locale$/, + + contextRegExp: /moment$/, + + })) ; .. _`handlebars-loader`: https://github.com/pcardune/handlebars-loader