Skip to content

Commit 9111ea2

Browse files
committed
minor #8286 Enhanced custom plugin configuration (martijngastkemper)
This PR was merged into the 3.3 branch. Discussion ---------- Enhanced custom plugin configuration The example doesn't include a declaration of variable ``webpack``. Commits ------- df8f028 Add require('webpack') to prevent undefined var
2 parents 8e35a11 + df8f028 commit 9111ea2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/encore/custom-loaders-plugins.rst

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ to use the `IgnorePlugin`_ (see `moment/moment#2373`_):
5151
.. code-block:: diff
5252
5353
// webpack.config.js
54+
+ var webpack = require('webpack');
55+
5456
Encore
5557
// ...
5658

0 commit comments

Comments
 (0)