Blame view

flaskr/assets.py 721 Bytes
5f551f2d   Goutte   Configure assets ...
1
2
from flask_assets import Bundle

69f8c67f   Antoine Goutenoir   Doc check while r...
3
4
5
6
7
8
9
# REGISTRY FOR CASCADING STYLESHEETS AND JAVASCRIPT ###########################

# Add more assets below, as-needed.
# No need to edit the templates for that.
# Add your additional css in `common`, not under `css`.
# --> (relative paths hack fix, gotta go fast)

5f551f2d   Goutte   Configure assets ...
10
11
12
common_css = Bundle(
    'css/vendor/bootstrap.min.css',
    'css/vendor/helper.css',
1b635a08   Antoine Goutenoir   Cheat and move CS...
13
    'css/common/main.css',
5f551f2d   Goutte   Configure assets ...
14
15
16
17
18
    filters='cssmin',
    output='public/css/common.css'
)

common_js = Bundle(
d5af76e8   Goutte   Bump the js and c...
19
20
    'js/vendor/jquery-3.2.1.slim.min.js',
    'js/vendor/popper.min.js',
5f551f2d   Goutte   Configure assets ...
21
    'js/vendor/bootstrap.min.js',
01e54e6b   Antoine Goutenoir   Add (broken) Down...
22
    'js/vendor/simg.js',
5f551f2d   Goutte   Configure assets ...
23
24
25
26
27
28
    Bundle(
        'js/main.js',
        filters='jsmin'
    ),
    output='public/js/common.js'
)