realms-wiki/realms/lib/assets.py

11 lines
246 B
Python
Raw Normal View History

2014-02-07 05:40:58 +02:00
from flask.ext.assets import Bundle, Environment
assets = Environment()
def register(*files):
assets.debug = True
filters = 'uglifyjs'
output = 'assets/%(version)s.js'
assets.add(Bundle(*files, filters=filters, output=output))