me/app.py
def register_assets(app, debug=False):
    """We add the app's root path to assets search path. However, the
    output directory is relative to `app.static_folder`.
    """
    assets = Environment(app)
    assets.debug = debug
    assets.auto_build = True
    assets.manifest = 'file'
    assets.append_path(app.root_path)

    site_js = Bundle(
        'static/app.js',
        filters=('uglifyjs',),
        output='js/bundle.js'
    )
    assets.register('site_js', site_js)

    site_css = Bundle(
        'static/style.css',
        filters=('cssmin',),
        output='css/bundle.css'
    )
    assets.register('site_css', site_css)
We add the app's root path to assets search path. However, the
    output directory is relative to `app.static_folder`.
    
We add the app's root path to assets search path. However, the
output directory is relative to `app.static_folder`.
We add the app ' s root path to assets search path . However the output directory is relative to ` app . static_folder ` .
def register_assets(app, debug=False):
    assets = Environment(app)
    assets.debug = debug
    assets.auto_build = True
    assets.manifest = 'file'
    assets.append_path(app.root_path)
    site_js = Bundle(
        'static/app.js',
        filters=('uglifyjs',),
        output='js/bundle.js'
    )
    assets.register('site_js', site_js)
    site_css = Bundle(
        'static/style.css',
        filters=('cssmin',),
        output='css/bundle.css'
    )
    assets.register('site_css', site_css)
def register_assets ( app , debug = False ) : assets = Environment ( app ) assets . debug = debug assets . auto_build = True assets . manifest = 'file' assets . append_path ( app . root_path ) site_js = Bundle ( 'static/app.js' , filters = ( 'uglifyjs' , ) , output = 'js/bundle.js' ) assets . register ( 'site_js' , site_js ) site_css = Bundle ( 'static/style.css' , filters = ( 'cssmin' , ) , output = 'css/bundle.css' ) assets . register ( 'site_css' , site_css )
We add the app's root path to assets search path.
We add the app ' s root path to assets search path .
"""We add the app's root path to assets search path. However, the
    output directory is relative to `app.static_folder`.
    """
app
debug