Skip to content
This repository was archived by the owner on Oct 23, 2019. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

python-webpack examples

Illustrates how to integrate webpack into a python project. Hot module replacement is activated by default, so your changes to the js and css files will be applied live.

Before running any of the examples:

# install the dependencies
npm install

# start the build server
npm start

An example Flask project lives in ./flask

An example Django project lives in ./django

Both projects use a shared JS codebase, which lives in ./app, and a shared config file, ./example.webpack.js