$npx skillfedfor your agent

django-webpack-loader

Transparently use webpack with django

Worth itPyPI Build ToolsReleased May 2026969.9K downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_webpack_loader-3.2.4-py2.py3-none-any.whl
v3.2.4 · released 2026-05-13

Yes. The package is actively maintained, has no runtime dependencies, supports current Django and Python versions, carries a permissive MIT license, and solves a common pain point in Django–Webpack integration. Install it if you are using Webpack to compile frontend assets for a Django project.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • webpack-bundle-tracker must be configured in your Webpack build to generate the stats file before django-webpack-loader can read it.
  • Low install friction with no runtime dependencies.
  • Actively maintained with recent releases; supports modern Django (4.2–5.2) and Python (3.8–3.13) versions.

License · maintenance · safety

MIT License (permissive) — MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.

last release 2026-05-13 (93 days) · last repo commit 2026-05-13 · 2,541 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 969,888 downloads/mo, #4,611 on PyPI

Verify before relying

# Install
pip install django-webpack-loader

# In Django settings.py
INSTALLED_APPS = [
    ...
    'webpack_loader',
]

WEBPACK_LOADER = {
    'DEFAULT': {
        'STATS_FILE': '/path/to/webpack-stats.json',
    }
}

# In a Django template
{% load render_bundle from webpack_loader %}
{% render_bundle 'main' 'css' %}
  • Whether the package works with Webpack versions other than Webpack 5 (documentation mentions examples in Webpack 5 but does not explicitly state version compatibility).
  • Whether hot-reload functionality is production-ready or development-only (documentation references a 'specific config' but details are not included in the excerpt).
Same gist for agents: .md · .json

What it is and what it does

Django Webpack Loader bridges Webpack and Django by consuming a stats file (webpack-stats.json) generated by webpack-bundle-tracker and exposing a template tag to render compiled bundles. It reads bundle metadata at runtime and injects the correct script and link tags into Django templates, handling asset paths and caching based on the DEBUG setting.

The package has no runtime dependencies and integrates directly into Django's template system. During development, it polls the stats file frequently to reflect live changes; in production, it caches the file once to minimize I/O. Configuration is done via Django settings, specifying the stats file location, bundle directory, and optional regex patterns to exclude certain assets.

Use it for

  • Render CSS and JavaScript bundles compiled by Webpack into Django templates using a single template tag.
  • Develop Django projects with hot-reloading frontend assets by polling the stats file during development.
  • Cache bundle paths in production to avoid repeated stats file reads while serving pre-compiled assets.
  • Exclude specific generated files (e.g., source maps, hot-update files) from template rendering via regex patterns.
  • Integrate multiple Webpack entry points into different parts of a Django template for code splitting.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no runtime dependencies, supports current Django and Python versions, carries a permissive MIT license, and solves a common pain point in Django–Webpack integration. Install it if you are using Webpack to compile frontend assets for a Django project.

Install

django-webpack-loader on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained with recent releases; supports modern Django (4.2–5.2) and Python (3.8–3.13) versions.

webpack-bundle-tracker must be configured in your Webpack build to generate the stats file before django-webpack-loader can read it.

License in practice

MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.

Quickstart

# Install
pip install django-webpack-loader

# In Django settings.py
INSTALLED_APPS = [
    ...
    'webpack_loader',
]

WEBPACK_LOADER = {
    'DEFAULT': {
        'STATS_FILE': '/path/to/webpack-stats.json',
    }
}

# In a Django template
{% load render_bundle from webpack_loader %}
{% render_bundle 'main' 'css' %}

Verify before relying

  • Whether the package works with Webpack versions other than Webpack 5 (documentation mentions examples in Webpack 5 but does not explicitly state version compatibility).
  • Whether hot-reload functionality is production-ready or development-only (documentation references a 'specific config' but details are not included in the excerpt).

Package facts

LicenseMIT License permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 93 days since the last release
Last repo commit
First released
Downloads969,888 / month, #4,611 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2License :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: django_webpack_loader-3.2.4-py2.py3-none-any.whl

Tags

Capabilities
webpack django integrationdjango template webpack bundleswebpack stats file djangodjango static assets webpackrender webpack bundles djangodjango webpack loader template tag
Topics
django-integrationwebpackfrontend-tooling
PyPI keywords
djangowebpackassets

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “webpack django integration”

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also django-navhelper · django-pipeline · django-components · django-tailwind · django-sass-processor · django-vite · django-jinja · django-template-partials · Flask-Assets · django-js-asset