from flask.ext.assets import Bundle

app_css = Bundle(
    'app.scss',
    'map.scss',
    filters='scss',
    output='styles/app.css'
)

app_js = Bundle(
    'app.js',
    'descriptor.js',
    'map.js',
    'resources.js',
    filters='jsmin',
    output='scripts/app.js'
)

vendor_css = Bundle(
    'vendor/semantic.min.css',
    output='styles/vendor.css'
)

vendor_js = Bundle(
    'vendor/jquery.min.js',
    'vendor/async.js',
    'vendor/address-autocomplete.js',
    'vendor/papaparse.min.js',
    'vendor/semantic.min.js',
    'vendor/tablesort.min.js',
    filters='jsmin',
    output='scripts/vendor.js'
)

from flask.ext.assets import Bundle

app_css = Bundle(
    '*.scss',
    filters='scss',
    output='styles/app.css'
)

app_js = Bundle(
    'app.js',
    'descriptor.js',
    'map.js',
    'resources.js',
    filters='jsmin',
    output='scripts/app.js'
)

vendor_css = Bundle(
    'vendor/semantic.min.css',
    output='styles/vendor.css'
)

vendor_js = Bundle(
    'vendor/jquery.min.js',
    'vendor/async.js',
    'vendor/address-autocomplete.js',
    'vendor/papaparse.min.js',
    'vendor/semantic.min.js',
    'vendor/tablesort.min.js',
    filters='jsmin',
    output='scripts/vendor.js'
)

Generalize scss bundle to track all scss files
Generalize scss bundle to track all scss files

  from flask.ext.assets import Bundle
  
  app_css = Bundle(
-     'app.scss',
+     '*.scss',
-     'map.scss',
      filters='scss',
      output='styles/app.css'
  )
  
  app_js = Bundle(
      'app.js',
      'descriptor.js',
      'map.js',
      'resources.js',
      filters='jsmin',
      output='scripts/app.js'
  )
  
  vendor_css = Bundle(
      'vendor/semantic.min.css',
      output='styles/vendor.css'
  )
  
  vendor_js = Bundle(
      'vendor/jquery.min.js',
      'vendor/async.js',
      'vendor/address-autocomplete.js',
      'vendor/papaparse.min.js',
      'vendor/semantic.min.js',
      'vendor/tablesort.min.js',
      filters='jsmin',
      output='scripts/vendor.js'
  )
  
Generalize scss bundle to track all scss files
## Code Before:
from flask.ext.assets import Bundle

app_css = Bundle(
    'app.scss',
    'map.scss',
    filters='scss',
    output='styles/app.css'
)

app_js = Bundle(
    'app.js',
    'descriptor.js',
    'map.js',
    'resources.js',
    filters='jsmin',
    output='scripts/app.js'
)

vendor_css = Bundle(
    'vendor/semantic.min.css',
    output='styles/vendor.css'
)

vendor_js = Bundle(
    'vendor/jquery.min.js',
    'vendor/async.js',
    'vendor/address-autocomplete.js',
    'vendor/papaparse.min.js',
    'vendor/semantic.min.js',
    'vendor/tablesort.min.js',
    filters='jsmin',
    output='scripts/vendor.js'
)

## Instruction:
Generalize scss bundle to track all scss files
## Code After:
from flask.ext.assets import Bundle

app_css = Bundle(
    '*.scss',
    filters='scss',
    output='styles/app.css'
)

app_js = Bundle(
    'app.js',
    'descriptor.js',
    'map.js',
    'resources.js',
    filters='jsmin',
    output='scripts/app.js'
)

vendor_css = Bundle(
    'vendor/semantic.min.css',
    output='styles/vendor.css'
)

vendor_js = Bundle(
    'vendor/jquery.min.js',
    'vendor/async.js',
    'vendor/address-autocomplete.js',
    'vendor/papaparse.min.js',
    'vendor/semantic.min.js',
    'vendor/tablesort.min.js',
    filters='jsmin',
    output='scripts/vendor.js'
)
