Skip to content
Snippets Groups Projects
Commit c52158a8 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

Move static assets source code in related django application folders

For each swh-web django application, create an assets folder in application
one and move related static assets source code (js, css, ...) in it.

Also modify webpack configuration to generate bundles the following way:

  - if swh/web/<app>/assets/index.js exists, a bundle named <app> is generated

  - if swh/web/<app>/assets/<bundle>/index.js exists, a bundle named <bundle>
    is generated

After these changes, some bundles got renamed but also new ones are generated
so update django templates and js code accordingly.

Related to T4398
parent 33212c44
No related branches found
Tags v0.0.390
Loading
Showing
with 74 additions and 90 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment