Skip to content
Open
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
10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ Add NodeModulesFinder to STATICFILES_FINDERS:
'django_node_assets.finders.NodeModulesFinder',
]

Or if you only want your direct dependencies to be collected, add ManifestNodeModulesFinder instead:

.. code:: python

STATICFILES_FINDERS = [
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
'django_node_assets.finders.ManifestNodeModulesFinder',
]

Specify absolute path to the package.json file:

.. code:: python
Expand Down