Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flask-webpackext

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flask-webpackext

Webpack integration for Flask.

  • 2.0.0
  • PyPI
  • Socket score

Maintainers
2

================== Flask-WebpackExt

.. image:: https://img.shields.io/travis/inveniosoftware/flask-webpackext.svg :target: https://travis-ci.org/inveniosoftware/flask-webpackext

.. image:: https://img.shields.io/coveralls/inveniosoftware/flask-webpackext.svg :target: https://coveralls.io/r/inveniosoftware/flask-webpackext

.. image:: https://img.shields.io/github/tag/inveniosoftware/flask-webpackext.svg :target: https://github.com/inveniosoftware/flask-webpackext/releases

.. image:: https://img.shields.io/pypi/dm/flask-webpackext.svg :target: https://pypi.python.org/pypi/flask-webpackext

.. image:: https://img.shields.io/github/license/inveniosoftware/flask-webpackext.svg :target: https://github.com/inveniosoftware/flask-webpackext/blob/master/LICENSE

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 <https://www.npmjs.com/package/webpack-manifest-plugin>, webpack-yam-plugin <https://www.npmjs.com/package/webpack-yam-plugin> or webpack-bundle-tracker <https://www.npmjs.com/package/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/

Changes

Version 2.0.0 (released 2024-11-28)

  • Project: allows passing allowed_copy_paths to copy assets when building with Webpack
  • Package structure update.
  • Added black formatting.
  • Dropped Python 3.6 support.

Version 1.0.2 (released 2020-05-13)

  • Deprecated Python versions lower than 3.6.0. Now supporting 3.6.0 and 3.7.0
  • Set Sphinx <3 because of errors related to application context
  • Stop using example app

Version 1.0.1 (released 2018-12-14)

  • Pypi classifier and deployment configuration
  • License detection

Version 0.1.0 (released 2016-05-29)

  • Initial public release.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc