Asset PipelineΒΆ

Static files are managed via webpack and django-webpack-loader.

There are a few make targets to aid asset compilation:

Target

Description

static

Compile and minify all static assets. (Use this for production.)

static.dev

Compile all static assets, but do NOT minify.

static.watch

Same as static.dev, but assets are compiled whenever a source file changes.

Note

If you need to remove all compiled and collected static assets, run make clean_static.

When adding new modules/pages that require custom CSS or JavaScript, remember to add a new entrypoint to webpack.config.js.