Skip to content

Correct spelling & grammar in 4.4 frontend/ #16273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/encore/advanced-config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Summarized, Encore generates the Webpack configuration that's used in your
``webpack.config.js`` file. Encore doesn't support adding all of Webpack's
`configuration options`_, because many can be added on your own.

For example, suppose you need to resolve automatically a new extension.
For example, suppose you need to automatically resolve a new extension.
To do that, modify the config after fetching it from Encore:

.. code-block:: javascript
Expand Down
2 changes: 1 addition & 1 deletion frontend/encore/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ And the new ``assets/css/app.css`` file:
background-color: lightgray;
}

You'll customize and learn more about these file in :doc:`/frontend/encore/simple-example`.
You'll customize and learn more about these files in :doc:`/frontend/encore/simple-example`.

.. caution::

Expand Down
2 changes: 1 addition & 1 deletion frontend/encore/page-specific-assets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ page-specific JavaScript and CSS file from a page-specific entry (e.g. ``checkou
.. tip::

Be sure to use :doc:`split chunks </frontend/encore/split-chunks>`
to avoid duplicating and shared code between your entry files.
to avoid duplicate and shared code between your entry files.
2 changes: 1 addition & 1 deletion frontend/encore/simple-example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ file to ``app.scss`` and update the ``import`` statement:
- import '../css/app.css';
+ import '../css/app.scss';

Then, tell Encore to enable the Sass pre-processor:
Then, tell Encore to enable the Sass preprocessor:

.. code-block:: diff

Expand Down
2 changes: 1 addition & 1 deletion frontend/encore/url-loader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Then enable it in your ``webpack.config.js``:

The ``limit`` option defines the maximum size in bytes of the inlined files. In
the previous example, font and image files having a size below or equal to 4 KB
will be inlined and the rest of files will be processed as usual.
will be inlined and the rest of the files will be processed as usual.

You can also use all the other options supported by the `URL Loader`_. If you
want to disable this loader for either images or fonts, remove the corresponding
Expand Down