diff --git a/frontend/encore/custom-loaders-plugins.rst b/frontend/encore/custom-loaders-plugins.rst index 362ccfe20b4..45f0de12a70 100644 --- a/frontend/encore/custom-loaders-plugins.rst +++ b/frontend/encore/custom-loaders-plugins.rst @@ -56,7 +56,7 @@ to use the `IgnorePlugin`_ (see `moment/moment#2373`_): Encore // ... - + .addPlugin(new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)) + + .addPlugin(new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)) ; .. _`handlebars-loader`: https://github.com/pcardune/handlebars-loader