Why is there a gulp task to generate a bower file?

The point of a bower file is:
A: determine the front end dependencies of a project and make it easy to download and place them in the correct location on deployment.
B: allow the project with the bower file to be used easily as a dependency for another project
for ether of these to work the file needs to be present in the root of the project at all times and for B. there needs to be a ‘dist’/’build’ (or similar) existant in the codebase.

For a front end dev to use Chart.js they would have to download the code and manually compile it, this it far from ideal for most sites.

Author: Fantashit

1 thought on “Bower

  1. cleared cache, restarted, bower install chart.js, dist folder magically appears.
    Sorry for wasting your time 😉

Comments are closed.