Skip to content

Commit e96f332

Browse files
committed
javascript: Copy-edit
1 parent 04ca23f commit e96f332

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/javascript/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,13 @@ Set ``NODE_ENV=production`` in Dockerfiles so that esbuild minifies bundles and
294294

295295
With ``bundle: true``, esbuild resolves each ``url()`` in Sass, to copy and content-hash it. However:
296296

297-
- An asset from a dependency may not resolve: for example, if the dependency points ``url()`` to a path that isn't built yet. If so, configure your application to build and serve that file (for example, add it to Django's ``STATICFILES_DIRS``), and mark the path as ``external``:
297+
- An asset from a dependency may not resolve; for example, the dependency points ``url()`` to a path that isn't built yet. If so, configure your application to build and serve that file (for example, add it to Django's ``STATICFILES_DIRS``), and mark the path as ``external``:
298298

299299
.. code-block:: javascript
300300
301301
external: ["/static/*"],
302302
303-
- If a file is used outside Sass (like images in HTML templates), configure it as above.
303+
- If a file is used outside Sass (like images in HTML templates), configure as above.
304304
- If a file is exclusive to Sass, point ``url()`` to its source file with a relative path. If the file is a font or image, map its extension to the ``file`` loader, because esbuild assigns no loader to fonts or images by default:
305305

306306
.. code-block:: javascript

0 commit comments

Comments
 (0)