Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create dist only bower #1321

Closed
david2tm opened this issue Mar 7, 2016 · 3 comments
Closed

Create dist only bower #1321

david2tm opened this issue Mar 7, 2016 · 3 comments

Comments

@david2tm
Copy link

david2tm commented Mar 7, 2016

Currently bower includes all the project, whilst it should IMHO ignore the sources and provide only productions ready files, aka dist folder.

@holtkamp
Copy link

Got the same observation, the following screenshot indicates a big amount of files, compared to another package with a similar structure (jquery-date-range-picker)

screen shot 2017-03-21 at 16 52 45

versus

screen shot 2017-03-21 at 16 52 52

I think an ignore section in bower.json already does the job, for example like this

@markus-s24
Copy link
Contributor

markus-s24 commented Apr 1, 2017

This causes the WebJar integration (WebJarAssetLocator) to fail (MultipleMatchesException), if the version number is not included in the url. This is because bootstrap-select.js etc. is included twice:

  • dist/js/bootstrap-select.js
  • docs/docs/dist/js/bootstrap-select.js (should not be included)

Please fix this, e.g. with #1695.

@caseyjhol
Copy link
Member

Released in v1.13.6!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants