Skip to main content
https://img.shields.io/travis/inveniosoftware/flask-webpackext.svg https://img.shields.io/coveralls/inveniosoftware/flask-webpackext.svg https://img.shields.io/github/tag/inveniosoftware/flask-webpackext.svg https://img.shields.io/pypi/dm/flask-webpackext.svg https://img.shields.io/github/license/inveniosoftware/flask-webpackext.svg

Webpack integration for Flask.

Flask-WebpackExt makes it easy to interface with your existing Webpack project from Flask and does not try to manage Webpack for you. Flask-WebpackExt does this via:

  • Manifests: You tell Webpack to write a manifest.json using plugins such as webpack-manifest-plugin, webpack-yam-plugin or webpack-bundle-tracker. Flask-WebpackExt reads the manifest and makes your compiled assets available in your Jinja templates.

  • CLI for NPM: Flask-WebpackExt provides a Flask CLI so that e.g. flask webpack install will run npm install in your Webpack project. Similarly, flask webpack build will run npm run build.

Optionally you can use Flask-WebpackExt to also:

  • Inject configuration: Flask-WebpackExt will write a config.json into your Webpack project, which you can import in your Webpack configuration. You define what goes in the config e.g. Let Webpack know about output paths or dynamic entry points.

  • Collect bundles: If your Webpack project is spread over multiple Python packages, Flask-WebpackExt can help you dynamically assemble the files into a Webpack project. This is useful if you don’t know until runtime which packages are installed.

Further documentation is available on https://flask-webpackext.readthedocs.io/

Metadata

Release files for flask-webpackext 2.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flask-webpackext 2.1.1
File Size Uploaded
flask_webpackext-2.1.1.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flask-webpackext 2.1.1
File Interpreter ABI Platform
flask_webpackext-2.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 23.4 kB

Release files / flask_webpackext-2.1.1.tar.gz

Download URL flask_webpackext-2.1.1.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1c3bae21517dbea0dce4527fecba07ddcfccd71deae984350c5968e3bfbf9e4b
BLAKE2b-256 checksum
How to use checksums
f19c91459d6b38d5c09cd57eb9375af250f50c9dfadd99452597ab66c250fd05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / flask_webpackext-2.1.1-py3-none-any.whl

Download URL flask_webpackext-2.1.1-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2235685a4ceaf6a36cadde574933f23ff4af096f92a7587408704a850965133
BLAKE2b-256 checksum
How to use checksums
26aebad6d700bc6b8bc94020e89a8046960b7c6e7955848eb9bdcc5a0ad0e52f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

2.1.1 This release

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page