You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
490 B
23 lines
490 B
# -*- coding: utf-8 -*-
|
|
"""Application assets."""
|
|
from flask_assets import Bundle, Environment
|
|
|
|
css = Bundle(
|
|
'libs/bootstrap/dist/css/bootstrap.css',
|
|
'css/style.css',
|
|
filters='cssmin',
|
|
output='public/css/common.css'
|
|
)
|
|
|
|
js = Bundle(
|
|
'libs/jQuery/dist/jquery.js',
|
|
'libs/bootstrap/dist/js/bootstrap.js',
|
|
'js/plugins.js',
|
|
filters='jsmin',
|
|
output='public/js/common.js'
|
|
)
|
|
|
|
assets = Environment()
|
|
|
|
assets.register('js_all', js)
|
|
assets.register('css_all', css)
|
|
|