Skip to content

Commit 15e816e

Browse files
committed
Tweaks thanks to Javier
1 parent f8461d3 commit 15e816e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Diff for: frontend/encore/advanced-config.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ Advanced Webpack Config
33

44
Quite simply, Encore generates the Webpack configuration that's used in your
55
``webpack.config.js`` file. Encore doesn't support adding all of Webpack's
6-
`configuration options`_, because many can be easy added on your own.
6+
`configuration options`_, because many can be easily added on your own.
77

88
For example, suppose you need to set `Webpack's watchOptions`_ setting. To do that,
9-
modify the config it after fetching the it from Encore:
9+
modify the config after fetching the it from Encore:
1010

1111
.. code-block:: javascript
1212
@@ -23,7 +23,6 @@ modify the config it after fetching the it from Encore:
2323
// other examples: add an alias or extension
2424
// config.resolve.alias.local = path.resolve(__dirname, './resources/src');
2525
// config.resolve.extensions.push('json');
26-
2726
2827
// export the final config
2928
module.exports = config;

Diff for: frontend/encore/legacy-apps.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ loaded on every page with the following content:
7979
8080
.. tip::
8181

82-
The ``global`` variable is a special way of setting things pn the ``window``
82+
The ``global`` variable is a special way of setting things in the ``window``
8383
variable. In a web context, using ``global`` and ``window`` are equivalent,
8484
except that ``window.jQuery`` won't work when using ``autoProvidejQuery()``.
8585
In other words, use ``global``.

0 commit comments

Comments
 (0)