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.
22 lines
468 B
22 lines
468 B
# -*- coding: utf-8 -*-
|
|
from flask.ext.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)
|
|
|