You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: frontend/encore/advanced-config.rst
+41Lines changed: 41 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -146,6 +146,47 @@ normally use from the command-line interface:
146
146
keepPublicPath:true,
147
147
});
148
148
149
+
Having the full control on Loaders Rules
150
+
----------------------------------------
151
+
152
+
The method ``configureLoaderRule()`` provide a clean way to configure Webpack loaders rules (``module.rules``, see `Configuration <https://webpack.js.org/concepts/loaders/#configuration>`_).
153
+
154
+
This is a low-level method. Any of your modifications will be applied just before pushing the loaders rules to Webpack.
155
+
It means that you can override configuration provided by Encore, so maybe you will break things. Be careful when using it.
156
+
157
+
A useful usage would be for configuring the ``eslint-loader`` to lint Vue files too.
0 commit comments