11 lines
246 B
Python
11 lines
246 B
Python
|
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))
|